Skip to content

Commit

Permalink
fix dynamic embedding after the Vc<T> update (#5708)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony authored Aug 11, 2023
1 parent 3f707ff commit df97e13
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 df97e13

Please sign in to comment.