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 c1739da commit ea93b0aCopy full SHA for ea93b0a
xtask/src/main.rs
@@ -37,6 +37,10 @@ enum Task {
37
CodeGen,
38
}
39
40
+#[cfg(target_family = "wasm")]
41
+fn main() {}
42
+
43
+#[cfg(not(target_family = "wasm"))]
44
fn main() -> Result<()> {
45
let cli = Cli::parse();
46
@@ -50,6 +54,7 @@ fn main() -> Result<()> {
50
54
Ok(())
51
55
52
56
57
53
58
fn task_fetch_api_spec() -> Result<()> {
59
println!("▶️ Running codegen task...");
60
0 commit comments