-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
create rust-toolchain.toml #65
Conversation
We definitely want to support more target than Windows and Linux. At best we want to support all target's rust has. Is it possible to just remove that target category ? |
The toolchains specified in this file are generally considered the minimum subset supported, it's not a maximal restriction. I also don't think you understand what you're asking either, are you saying you want to support all T1 Targets? All T2 Targets? If you actually mean "all targets" then that's just not going to ever work unless we drop Tokio, Mio, and a bunch of other libraries we're currently using and slap That doesn't even begin to touch packaging requirements for "all platforms". We might be able to build a valid executable for Android, for example, but we're not signing and slapping the NDK on top of this so it's meaningless to claim "support" if you can't build a runnable executable for it. If you don't test on X platform, you don't support X platform. Removing the default targets won't magically make this project support all targets. Unless you're actually putting in the effort to build (and test!) for these platforms they're just "not supported". Regardless of whether it's listed somewhere. Eventually one of the projects I'm getting around to is adding in |
You have 2 target's there. Look what mio does support
|
Yes, and that is not all the targets rust supports. That's not even listing the M2 macs on that list. My point about needing to drop Mio to support "all the targets rust supports" still stands. If you actually want "all targets", you need to consider what that actually means. |
Okay i probably expressed my self wrong. We want to support as many targets as we can and as our deps allow |
And I think it's admirable to push for that, this is not preventing other toolchains or platforms from being used. The target list is strictly additive. You can read the documentation here |
Okay, But i would still add |
This restricts people to using the stable toolchain.
If someone, (like myself) has the default toolchain be
nightly
, this will prevent the project from being built on a different toolchain accidentally.You can see an example of this here:
Notice that the
(default)
bynightly-...