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:
parent
0dddad0dc5
commit
d5f2b8e5c6
24 changed files with 97 additions and 71 deletions
|
@ -104,6 +104,7 @@ pub fn create_session(
|
|||
lint_caps,
|
||||
file_loader,
|
||||
target_override,
|
||||
rustc_version_str().unwrap_or("unknown"),
|
||||
);
|
||||
|
||||
codegen_backend.init(&sess);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue