-
Notifications
You must be signed in to change notification settings - Fork 381
docs: workspace page #4805
Copy link
Copy link
Closed
Description
Aim
https://noir-lang.org/docs/noir/modules_packages_crates/workspaces
The workspace Nargo.toml currently reads:
[workspace]
members = ["crates/a", "crates/b"]
default-member = "crates/a"
It should instead read:
[workspace]
members = ["a", "b"]
default-member = "a"
i.e. remove the crates word from the paths.
Before making this change, I was getting this error when running nargo compile from within crate a:
Cannot read file /Users/mike/git/my_project/crates/crates/a/Nargo.toml - does it exist?
Hoping no one else will have to lose 15 mins of life wondering why the workspace wasn't compiling :)
nargo version = 0.26.0
noirc version = 0.26.0+c46b164ce56e6a8f81255fb17eb6539bd040f336
(git version hash: c46b164ce56e6a8f81255fb17eb6539bd040f336, is dirty: false)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels