-
Notifications
You must be signed in to change notification settings - Fork 229
Failed to build as a dependency #87
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
Comments
Wow, this was very weird to debug. The actual error is that OK, here what seems to be happening: This is actually a rustc-cfg bug when dealing with custom targets and build scripts but doesn't seem easy to fix. I don't think there is a way to retrieve the directory from where @pftbest For now, I think you can workaround this by setting the RUST_TARGET_PATH env variable to a directory and place stm32f429zi.json in there. |
Just chiming in that I got hit by this issue too. |
Unfortunately no :( |
@FenrirWolf Yeah, sorry. The solution right now is to |
If you don't need the "C" cargo feature then you can use a "snapshot crate" that I've published on crates.io: compiler-builtins-snapshot. It doesn't have this problem with rustc-cfg because it doesn't depend on rustc-cfg. Ah, and if you need |
87: implement log1p and log1pf r=japaric a=erikdesjardins closes rust-lang#26, closes rust-lang#49 Co-authored-by: Erik <[email protected]>
Added this to my Cargo.toml
tried to compile using
got this error
The text was updated successfully, but these errors were encountered: