Only depend on CFG_VERSION in rustc_interface
this avoids having to rebuild the whole compiler on each commit when `omit-git-hash = false`.
This commit is contained in:
@@ -104,6 +104,7 @@ pub fn create_session(
|
||||
lint_caps,
|
||||
file_loader,
|
||||
target_override,
|
||||
rustc_version_str().unwrap_or("unknown"),
|
||||
);
|
||||
|
||||
codegen_backend.init(&sess);
|
||||
|
||||
Reference in New Issue
Block a user