diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-08 14:49:28 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-08 14:49:28 +0000 |
| commit | fdff4d7682071b981a40dcc3575300a661a1f382 (patch) | |
| tree | a2a7e69c752f802e4b35c73b0beb58b17e8eab5a /compiler/rustc_driver_impl/src | |
| parent | 14fbc3c00525b41a3a3ee2c90e9ab6fd3b05274f (diff) | |
| download | rust-fdff4d7682071b981a40dcc3575300a661a1f382.tar.gz rust-fdff4d7682071b981a40dcc3575300a661a1f382.zip | |
Move metadata header and version checks together
This will make it easier to report rustc versions for older metadata formats.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 89ab5c6bd3b..4edfd111e5c 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -676,6 +676,7 @@ fn list_metadata(early_dcx: &EarlyDiagCtxt, sess: &Session, metadata_loader: &dy metadata_loader, &mut v, &sess.opts.unstable_opts.ls, + sess.cfg_version, ) .unwrap(); safe_println!("{}", String::from_utf8(v).unwrap()); |
