-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clippy fails at link time: Syntax error in VERSION script #1500
Comments
|
So apparently it's our use of I reported this upstream: rust-lang/rust#39445 |
In case anyone's interested in working around this, here's a reduced version of the
|
according to rustc this is fixed: rust-lang/rust#39445 (comment) @ssokolow @ustulation can you confirm? |
Still a problem here. (I tested with a freshly-run |
I have run into this problem too. Is there any workaround?.. |
Apparently the "new" way to do this is to use |
Has this fix been pushed to crates.io yet? I just did a |
As far as I can see, #1852 was merged just after version had been bumped to 0.0.142 (Manishearth@e56331f). I'm waiting for the fix too. 😄 |
This has been published. The delay happened because we mostly publish on rustups, and these can be a week or two apart. |
I can confirm that the problem appears to be fixed now. |
If my crate Cargo.toml specifies:
then running
cargo clippy
produces the above linker error.cargo clippy --profile=test
,cargo build
,cargo test
etc. are all fine however.You can even reproduce on an empty/minimal project. All it needs is the above lib type mentioned in the toml.
Using clippy version 0.0.99 with nightly from 17th Nov 2016 was fine. After updating to 19th Dec 2016 nightly and clippy 0.0.104 this was a problem and ever since continued to this date (with lates nightly and latest clippy - v0.0.112 at the time of writing this).
Is this known and is there any resolution planned on this.
The text was updated successfully, but these errors were encountered: