You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LibJS: Ensure asmintgen works even when CARGO_TARGET_DIR is set
Problem: Build fails when CARGO_TARGET_DIR is set.
Cause: The asmintgen custom command ran a bare “cargo build --release”,
which wrote the binary to any CARGO_TARGET_DIR set. But the build looked
for it under a hardcoded AsmIntGen/target path — and didn’t find it.
Fix: Build asmintgen with build_rust_binary() from rust_crate.cmake —
the same helper we already build all other crates with. That passes an
explicit --target-dir, which causes CARGO_TARGET_DIR to be ignored.
Fixes#10216
0 commit comments