We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0166d8a commit fecfd42Copy full SHA for fecfd42
xtask/Cargo.toml
@@ -3,7 +3,8 @@ edition = "2024"
3
name = "xtask"
4
version = "0.1.0"
5
6
-[dependencies]
+[target.'cfg(any(windows, unix))'.dependencies]
7
+
8
anyhow = "1.0"
9
cargo_metadata = "0.23"
10
chrono = "0.4"
@@ -20,3 +21,5 @@ tokio = { version = "1", features = ["full"] }
20
21
toml.workspace = true
22
23
axvmconfig = { workspace = true, features = ["std"] }
24
25
xtask/src/main.rs
@@ -1,5 +1,6 @@
1
-#![cfg_attr(target_os = "none", no_main)]
2
-#![cfg(not(target_os = "none"))]
+#![cfg_attr(not(any(windows, unix)), no_main)]
+#![cfg_attr(not(any(windows, unix)), no_std)]
+#![cfg(any(windows, unix))]
use anyhow::{Context, Result, anyhow};
use chrono::Utc;
0 commit comments