vmware-labs / webassembly-language-runtimes

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
Apache License 2.0
327 stars 27 forks source link

Find target directory in workspaces #131

Closed Gentle closed 3 months ago

Gentle commented 3 months ago

finally remembered to reopen my PR :)

implements a fallback approach to try and find the correct target directory. The resolution order is

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

Gentle commented 3 months ago

...wrong repo :D