Skip to content

Conversation

@bonzini
Copy link
Contributor

@bonzini bonzini commented Aug 28, 2025

"cargo cinstall" does not want --destdir to be empty:

CARGO_TARGET_DIR=/workspace/igvm/igvm_c/../target_c cargo cinstall --destdir "" --prefix "/usr" --features "igvm-c"  --manifest-path=/workspace/igvm/igvm_c/../igvm/Cargo.toml
error: a value is required for '--destdir <DESTDIR>' but none was supplied

So, leave it out completely if it is.

Fixes: #96

"cargo cinstall" does not want --destdir to be empty:

   CARGO_TARGET_DIR=/workspace/igvm/igvm_c/../target_c cargo cinstall --destdir "" --prefix "/usr" --features "igvm-c"  --manifest-path=/workspace/igvm/igvm_c/../igvm/Cargo.toml
   error: a value is required for '--destdir <DESTDIR>' but none was supplied

So, leave it out completely if it is.

Fixes: microsoft#96
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@bonzini bonzini requested a review from a team as a code owner August 28, 2025 10:45
@chris-oo
Copy link
Member

Thanks for the fix!

@chris-oo chris-oo enabled auto-merge (squash) August 28, 2025 16:30
@chris-oo chris-oo merged commit 9b67b6f into microsoft:main Aug 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installation issue with cinstall in igvm_c

2 participants