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

Passing target specific command line options to rustc #2284

Closed
Zoxc opened this issue Jan 15, 2016 · 2 comments
Closed

Passing target specific command line options to rustc #2284

Zoxc opened this issue Jan 15, 2016 · 2 comments

Comments

@Zoxc
Copy link
Contributor

Zoxc commented Jan 15, 2016

I'm trying to use cargo to build my kernel.

I ran into an issue with cargo rustc not being able to pass along command line arguments to all crates being used for a specific target.

For example I want to pass along --sysroot, -Z no-landing-pads and -C ar to all crates being built with --target, but not compiler plugins.

@Zoxc
Copy link
Contributor Author

Zoxc commented Jan 16, 2016

Looks like #2241 will provide a way to do this.

@alexcrichton
Copy link
Member

Yes I believe that this is a dupe of #2112, so closing in favor of that.

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