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
error: parsing package.metadata.cargo-xbuild section failed #60
Comments
Thanks for reporting this! I can reproduce this error with your repository and I'm trying to fix it. |
I think I found the error. The problem is that your project is using a virtual manifest at the workspace root, which we forgot to handle in the code introduced in #57. I opened #61 to fix this. Unfortunately, we can't load any config for such projects since it's not clear which Could you try the code in #61 and test whether this approach works for you? You can install the version through:
|
Thanks for the quick turnaround on this. I'll give it a shot and report back. Side note: I'm also considering pulling |
@parasyte Did you try whether it works for you now? |
It works! We also got it integrated as a library. 👍 |
Perfect, thanks for the update! |
I get this new error message (introduced in #57) with no additional way to diagnose the cause.
Setting
RUST_BACKTRACE=1
hides the second line from the error message and produces no backtrace.This causes my CI to fail. E.g. https://travis-ci.org/rust-console/cargo-n64/builds/650914215
FWIW, the
cargo-n64
repo is setup with a workspace manifest, and I do not have apackage.metadata.cargo-xbuild
section in any of the crate manifests.cargo xbuild
is invoked something like this:Where the contents of the target JSON file is:
And the contents of the linker script:
The text was updated successfully, but these errors were encountered: