You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, might I ask what nightly features are required in krnl?
Generally, nightly builds are quite unstable (some features available in nightly might never make it to stable and could be removed entirely). Relying on stable versions would be more robust, especially if the necessary features can be replaced by macros or crates compatible with stable versions.
The text was updated successfully, but these errors were encountered:
krnlc uses nightly to get the crate source in token form, parsed by syn. This is how it locates modules. See rust-lang/rust#43364.
rust-gpu is used to compile kernels to SPIR-V. It replaces Rust's LLVM backend with its own, which requires nightly features and only works (more or less) with that exact nightly. Many other projects, like Rust-CUDA, work in a similar way, with the same limitation. While there is plenty of interest in stabilizing this, I don't see that being realistic anytime soon. See rust-lang/rust#77933.
Hi, might I ask what nightly features are required in krnl?
Generally, nightly builds are quite unstable (some features available in nightly might never make it to stable and could be removed entirely). Relying on stable versions would be more robust, especially if the necessary features can be replaced by macros or crates compatible with stable versions.
The text was updated successfully, but these errors were encountered: