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

Don't pass compiler flags to MSVC assembers. #867

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

dot-asm
Copy link
Contributor

@dot-asm dot-asm commented Sep 20, 2023

While ml[64] ignores the compiler flags with warnings, armasm[64] rejects them and fails.

@thomcc
Copy link
Member

thomcc commented Sep 22, 2023

Doesn't that happen later on? Down here? https://github.com/rust-lang/cc-rs/blob/main/src/lib.rs#L1545

While ml[64] ignores the compiler flags with warnings, armasm[64]
rejects them and fails.
@dot-asm dot-asm changed the title Pass asm_flags to MSVC assembers, not compliler ones. Don't pass compiler flags to MSVC assembers. Sep 22, 2023
@dot-asm
Copy link
Contributor Author

dot-asm commented Sep 22, 2023

Doesn't that happen later on? Down here? https://github.com/rust-lang/cc-rs/blob/main/src/lib.rs#L1545

Yes, I've misread. Thanks! Fixed now. The commit message is reworded.

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@thomcc thomcc merged commit 7f3acb5 into rust-lang:main Sep 23, 2023
16 checks passed
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

Successfully merging this pull request may close these issues.

2 participants