Skip to content

Commit 13170ac

Browse files
fix dynamic embedding after the Vc<T> update (vercel/turborepo#5708)
1 parent 06ca082 commit 13170ac

File tree

1 file changed

+4
-1
lines changed
  • crates/turbo-tasks-fs/src/embed

1 file changed

+4
-1
lines changed

crates/turbo-tasks-fs/src/embed/file.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ macro_rules! embed_file {
4343
// check that the file exists at compile time
4444
let _ = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", $path));
4545

46-
turbo_tasks_fs::embed::content_from_relative_path(env!("CARGO_MANIFEST_DIR"), $path)
46+
turbo_tasks_fs::embed::content_from_relative_path(
47+
env!("CARGO_MANIFEST_DIR").to_string(),
48+
$path.to_string(),
49+
)
4750
}};
4851
}
4952

0 commit comments

Comments
 (0)