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.
Vc<T>
1 parent 06ca082 commit 13170acCopy full SHA for 13170ac
crates/turbo-tasks-fs/src/embed/file.rs
@@ -43,7 +43,10 @@ macro_rules! embed_file {
43
// check that the file exists at compile time
44
let _ = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", $path));
45
46
- turbo_tasks_fs::embed::content_from_relative_path(env!("CARGO_MANIFEST_DIR"), $path)
+ turbo_tasks_fs::embed::content_from_relative_path(
47
+ env!("CARGO_MANIFEST_DIR").to_string(),
48
+ $path.to_string(),
49
+ )
50
}};
51
}
52
0 commit comments