Skip to content

Commit

Permalink
cli/new: use relative path for stdlib submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Apr 24, 2024
1 parent 2456deb commit b4b1dfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-cli/src/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ impl Creator {
let workflows = github.join("workflows");
// External folder: we will clone stdlib there if possible.
let external = root.join("external");
let external_stdlib = external.join("stdlib");
// Use a relative path as that is what is recorded to '.gitmodules'.
let external_stdlib = Utf8PathBuf::from("external/stdlib");
let me = Self {
root: root.clone(),
src,
Expand Down

0 comments on commit b4b1dfe

Please sign in to comment.