Skip to content

Commit 107c56f

Browse files
dev_build.py: fix for cargo workspace changes
Even when doing `cd tool/microkit` and then `cargo build` this will instead generate a `target/` directory in the root directory, so we need to update dev_build.py to handle that. Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
1 parent b07b836 commit 107c56f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def main():
9090
make_env["MICROKIT_BOARD"] = args.board
9191
make_env["MICROKIT_CONFIG"] = args.config
9292
make_env["MICROKIT_SDK"] = str(release)
93-
make_env["MICROKIT_TOOL"] = (CWD / "tool/microkit/target/release/microkit").absolute()
93+
make_env["MICROKIT_TOOL"] = (CWD / "target/release/microkit").absolute()
9494
make_env["LLVM"] = str(args.llvm)
9595

9696
# Choose the makefile based on the `--example-from-sdk` command line flag

0 commit comments

Comments
 (0)