-
Notifications
You must be signed in to change notification settings - Fork 463
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
Support compiling different files with different options #545
Comments
I think this can be done with separate instances of |
The problem is that each It might work to use a separate |
But you don't need to combine archives? They're just both passed to the linker? |
@alexcrichton You do when you're building a library that other crates want to find by name, such as if you're constructing a static library and associated pkg-config files and headers to put on the search path. |
I'd like to have better support for compiling different files with different compiler options. For instance, I'd like to compile
avx2-foo.c
with-mavx2
, without applying that flag to any other source file.The text was updated successfully, but these errors were encountered: