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
Currently, Hermit and Reverie both require Rust nightly features. This can be easily seen with the following ripgrep calls (first reverie, second hermit):
Rust nightly generally requires extra contortions in order to support in most package managers; infamously, some people even trick the compiler into allowing these features on the stable branch using evil, dark magic. In fact, I have gotten a working build of Hermit inside Nixpkgs (NixOS/nixpkgs#212278), but I am uneasy about using such evil magic and people will probably get upset about it.
Therefore I am filing this bug as a general "meta issue" to keep track of the question: would it be possible to use Hermit with a stable Rust compiler? And if it can be done, what's needed to do so, and what's blocking it from happening? If there's no chance of supporting stable Rust, that should also be clarified, but in my experience a lot of Nightly features come down to "this is significantly easier than the workaround."
Some of these definitely look like conveniences e.g. map_first_last or atomic_mut_ptr (I believe these can be worked around with some copy/pasting or unsafe magic), while others come across as more fundamental such as ffi_returns_twice; but maybe it's nothing some good old fashioned assembly programming can't handle.
Please note this isn't a critical requirement or anything or something time sensitive; it's not like I'm literally stuck without this. But I figured it would be nice to get the conversation rolling.
The text was updated successfully, but these errors were encountered:
Currently, Hermit and Reverie both require Rust nightly features. This can be easily seen with the following ripgrep calls (first reverie, second hermit):
Rust nightly generally requires extra contortions in order to support in most package managers; infamously, some people even trick the compiler into allowing these features on the stable branch using evil, dark magic. In fact, I have gotten a working build of Hermit inside Nixpkgs (NixOS/nixpkgs#212278), but I am uneasy about using such evil magic and people will probably get upset about it.
Therefore I am filing this bug as a general "meta issue" to keep track of the question: would it be possible to use Hermit with a stable Rust compiler? And if it can be done, what's needed to do so, and what's blocking it from happening? If there's no chance of supporting stable Rust, that should also be clarified, but in my experience a lot of Nightly features come down to "this is significantly easier than the workaround."
Some of these definitely look like conveniences e.g.
map_first_last
oratomic_mut_ptr
(I believe these can be worked around with some copy/pasting or unsafe magic), while others come across as more fundamental such asffi_returns_twice
; but maybe it's nothing some good old fashioned assembly programming can't handle.Please note this isn't a critical requirement or anything or something time sensitive; it's not like I'm literally stuck without this. But I figured it would be nice to get the conversation rolling.
The text was updated successfully, but these errors were encountered: