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.
2 parents ec3c0ed + 2181019 commit 2244970Copy full SHA for 2244970
rust/src/main.rs
@@ -135,7 +135,8 @@ fn generator_symlink(
135
fs::create_dir_all(&dir).with_context(|| format!("Failed to create {dir}"))?;
136
137
let symlink = format!("{dir}/{src_unit}");
138
- std::os::unix::fs::symlink(src_unit, &symlink)
+ let link_target = format!("../{src_unit}");
139
+ std::os::unix::fs::symlink(link_target, &symlink)
140
.with_context(|| format!("Failed to create symlink {symlink}"))?;
141
142
Ok(())
0 commit comments