Skip to content

Commit

Permalink
fix dynamic embedding after the Vc<T> update (vercel#5708)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony authored and X-oss-byte committed Aug 29, 2023
1 parent 6be6ac8 commit 73e2f88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/turbo-tasks-fs/src/embed/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ macro_rules! embed_file {
// check that the file exists at compile time
let _ = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", $path));

turbo_tasks_fs::embed::content_from_relative_path(env!("CARGO_MANIFEST_DIR"), $path)
turbo_tasks_fs::embed::content_from_relative_path(
env!("CARGO_MANIFEST_DIR").to_string(),
$path.to_string(),
)
}};
}

Expand Down

0 comments on commit 73e2f88

Please sign in to comment.