Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Conversation

@Xanewok
Copy link
Contributor

@Xanewok Xanewok commented Jun 17, 2017

Fixes #330. Thanks to @nrc's suggestion, using BTreeMap instead of HashMap retains RUSTFLAGS order with which crate fingerprint has been made when compiling dep crates, thus not triggering complete project rebuild per each cargo run.

@Xanewok
Copy link
Contributor Author

Xanewok commented Jun 17, 2017

PR fails on test_reformat, but it seems like this isn't working as desired on master yet

@Xanewok Xanewok force-pushed the rustflags-rebuild-fix branch from 95f565d to e7d3330 Compare June 17, 2017 21:15
@nrc nrc merged commit 9ca162f into rust-lang:master Jun 17, 2017
@nrc
Copy link
Member

nrc commented Jun 17, 2017

Awesome, thanks!

@Xanewok Xanewok deleted the rustflags-rebuild-fix branch June 18, 2017 12:20
@gentoo90
Copy link

Is this fix in nightly builds yet? The bug is still reproduced with build 2017-06-20.

@nrc
Copy link
Member

nrc commented Jun 20, 2017

@gentoo90 I don't think so. I just sent a PR to update the RLS submodule, so once that hits nightly it should be included (rust-lang/rust#42766).

@gentoo90
Copy link

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants