Skip to content
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

--build-std support? #117

Open
cometkim opened this issue Feb 9, 2023 · 1 comment
Open

--build-std support? #117

cometkim opened this issue Feb 9, 2023 · 1 comment

Comments

@cometkim
Copy link

cometkim commented Feb 9, 2023

I tried using cargo build option --build-std like:

cargo {
  // ...
  extraCargoBuildArguments = ["-Z", "build-std=std,panic_abort", "-Z", "build-std-features=panic_immediate_abort"]
}

But got an error -Zbuild-std requires --target

I think it will be better if this plugin support --build-std option as a feature

@ncalexan
Copy link
Member

ncalexan commented Feb 9, 2023

I'd happily take a patch to add --build-std in some way to the cargo { } block, but it's not something I'll be able to help with directly. A full log of the build would help (with --info or --debug, so we see the Cargo details).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants