We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sys::env_consts
1 parent 98e2a42 commit 0975db2Copy full SHA for 0975db2
std/src/sys/env_consts.rs
@@ -389,6 +389,17 @@ pub mod os {
389
pub const EXE_EXTENSION: &str = "exe";
390
}
391
392
+#[cfg(target_os = "zkvm")]
393
+pub mod os {
394
+ pub const FAMILY: &str = "";
395
+ pub const OS: &str = "";
396
+ pub const DLL_PREFIX: &str = "";
397
+ pub const DLL_SUFFIX: &str = ".elf";
398
+ pub const DLL_EXTENSION: &str = "elf";
399
+ pub const EXE_SUFFIX: &str = ".elf";
400
+ pub const EXE_EXTENSION: &str = "elf";
401
+}
402
+
403
// The fallback when none of the other gates match.
404
#[else]
405
pub mod os {
std/src/sys/pal/zkvm/env.rs
0 commit comments