|
|
|
|
|
by gpm
302 days ago
|
|
Rust's const fns run in a restricted interpreter that does not allow for things like non-determinism, syscalls, unsound behavior, etc. They can neither read from nor write to "the environment" in any meaningful way. They don't even expose things like the host's pointer-size to the code being run. |
|
Not a Rust-only problem, but one that people should be aware of in general.