Skip to content

Commit 41c1c53

Browse files
authored
fix: pass target_dir in populate_from_args (#62)
The target_dir was not being forwarded from args, causing builds to use the default target directory instead of the user-specified one. This fix is needed for: hyperlight-dev/hyperlight-js@0bec9b1 Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 096331d commit 41c1c53

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ trait CargoCommandExt {
9292
impl CargoCommandExt for std::process::Command {
9393
fn populate_from_args(&mut self, args: &Args, bootstrap: bool) -> &mut Self {
9494
self.target(&args.target);
95+
self.target_dir(&args.target_dir);
9596
self.sysroot(args.sysroot_dir());
9697
self.append_rustflags("--cfg=hyperlight");
9798
self.append_rustflags("--check-cfg=cfg(hyperlight)");

0 commit comments

Comments
 (0)