We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
StdLibAssets
1 parent 7955b1e commit 65b7108Copy full SHA for 65b7108
crates/fm/src/file_reader.rs
@@ -7,7 +7,8 @@ use std::path::Path;
7
8
#[derive(RustEmbed)]
9
#[folder = "../../noir_stdlib/src"]
10
-#[prefix = "std/"]
+#[cfg_attr(not(target_os = "windows"), prefix = "std/")]
11
+#[cfg_attr(target_os = "windows", prefix = r"std\")] // Note reversed slash direction
12
struct StdLibAssets;
13
14
cfg_if::cfg_if! {
0 commit comments