-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Some -Ctarget-feature
s must be restrained on RISCV
#132618
Comments
-Ctarget-feature
s be restrained on RISCV targets?-Ctarget-feature
s be restrained on RISCV?
In summary:
Notes:
|
cc @coastalwhite (as author of #116485 which got scaled back due to precisely this question!) |
Just realised I missed the |
Also I haven't included above the cases where LLVM will emit an error itself due to feature incompatibility. Checking the features mentioned #116485, those are:
In both these cases LLVM will already emit a fatal error, but it would definitely be better diagnostic UX for |
-Ctarget-feature
s be restrained on RISCV?-Ctarget-feature
s must be restrained on RISCV
Thanks for the summary! That seems pretty definite in terms of a "yes, we should", yeah. |
refs:
-Ctarget-feature
#116344llvm_abiname
for RISC-V targets #131807in discussion of the target modifiers RFC1, Ralf asks this question:
cc @beetrees
Footnotes
https://github.com/rust-lang/rfcs/pull/3716 ↩
The text was updated successfully, but these errors were encountered: