Skip to content

Commit

Permalink
fix: reverse slash direction in StdLibAssets prefix on windows (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Mar 16, 2023
1 parent 7955b1e commit 65b7108
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/fm/src/file_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use std::path::Path;

#[derive(RustEmbed)]
#[folder = "../../noir_stdlib/src"]
#[prefix = "std/"]
#[cfg_attr(not(target_os = "windows"), prefix = "std/")]
#[cfg_attr(target_os = "windows", prefix = r"std\")] // Note reversed slash direction
struct StdLibAssets;

cfg_if::cfg_if! {
Expand Down

0 comments on commit 65b7108

Please sign in to comment.