-
Notifications
You must be signed in to change notification settings - Fork 478
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
Supported compiler versions? #1396
Comments
This comment has been minimized.
This comment has been minimized.
1 similar comment
Does rustc has a minimum supported version for this? I think it might have for linking? |
RfL doesn't use cc-rs because we don't use cargo. |
rustc has minimum versions it targets but the documentation is a bit scarce, see rust-lang/rust#129307. Bumping target tools usually requires a compiler team decision so there should be some record of it, albeit not necessarily easy to find. I guess LLVM tools would be the exception because we regularly bump to the latest version of LLVM and additionally support up to two versions back. While technically older LLVM tools may work with the output from newer LLVM, I'm not sure that's guaranteed. |
Thanks, so for llvm, maybe we just support the same version as the msrv of cc-rs? |
Also, since our msrv is tracking debian's rustc version, maybe we just need to support the same version as debian stable? |
We do not currently document our minimum supported compiler versions (or which compilers we support in general), and that makes it hard to figure out which workarounds for older versions make sense.
For example, in #1395, I wanted to argue that we should always pass the flag to avoid the overhead of checking if it's supported because I suspected it's supported everywhere, but I couldn't make that argument without knowing this piece of information. It is also hard to create a CI step that tests older versions, if we don't know the range we target.
It would also make sense to have a policy around these; maybe we only bump requirements in minor versions?
I'm only certain about the Apple stuff, but I tried to do a bit of research:
glibc
version? Debian 11 has GCC 10rustc
)clang-cl
qcc
(QNX SDK)Are we missing compilers in this table? Or is this the full list of compilers we support?
CC @ChrisDenton @NobodyXu WDYT?
CC @Darksonn, dunno if RfL uses
cc-rs
, but if you do, what would be desired for you? (Both now and in the future).Discussion on Zulip.
The text was updated successfully, but these errors were encountered: