Wasm Language Runtimes provides popular language runtimes (Ruby, Python, …) precompiled to WebAssembly that are tested for compatibility and kept up to date when new versions of upstream languages are released
implements a fallback approach to try and find the correct target directory. The resolution order is
if CARGO_TARGET_DIR is set, use that
try to find Cargo.lock in any ancestor of the current directory, which should always work since workspace member directories should always be children of the workspace root
if target was still not found, fall back to the previous hardcoded path so that there's no error state
Also, this adds a lockfile since tar can error if two crates both run wlr_libpy initialization in their build.rs simultaneously - this actually happens pretty reliably when initially building with an empty target directory.
The lockfile prevents that case by only allowing one build step to extract the tarballs at the same time
finally remembered to reopen my PR :)
implements a fallback approach to try and find the correct target directory. The resolution order is
CARGO_TARGET_DIR
is set, use thatCargo.lock
in any ancestor of the current directory, which should always work since workspace member directories should always be children of the workspace rootAlso, this adds a lockfile since tar can error if two crates both run wlr_libpy initialization in their build.rs simultaneously - this actually happens pretty reliably when initially building with an empty target directory.
The lockfile prevents that case by only allowing one build step to extract the tarballs at the same time