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

RUSTFLAGS for target in cross-builds #2509

Closed
larsbergstrom opened this issue Mar 22, 2016 · 1 comment
Closed

RUSTFLAGS for target in cross-builds #2509

larsbergstrom opened this issue Mar 22, 2016 · 1 comment

Comments

@larsbergstrom
Copy link

RUSTFLAGS does not quite work for the target-feature support as mentioned in #1137
, as it passes the target-feature to both host (for plugins) and target platforms during compilation. For cross-compile to Android/ARM, we need to pass target-feature=+neon in Servo, and this results in several hundred warnings about an unsupported feature for all of the plugin compilations.

Is there a plan for a RUSTTARGETFLAGS vs. RUSTHOSTFLAGS or similar?

CC @alexcrichton

@larsbergstrom
Copy link
Author

Wait, I lied - this doesn't seem to be happening in yesterday's nightly.

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

1 participant