Update nightly in CI (#9501)* Update nightly in CIThis commit updates nightly again in CI after failing to do so in #9496.This fixes an issue in our release CI where CMake was misconfigured when
Update nightly in CI (#9501)* Update nightly in CIThis commit updates nightly again in CI after failing to do so in #9496.This fixes an issue in our release CI where CMake was misconfigured whencross-compiling and creating `aarch64-pc-windows-msvc` artifacts.prtest:full* Try installing ninja* Also install Ninja on Linux
show more ...
Try again to fix version info in CI builds (#9157)Turns out just having `git` wasn't enough. In the containers things arerunning as `root` and `git` doesn't like that so try to convince gitthat i
Try again to fix version info in CI builds (#9157)Turns out just having `git` wasn't enough. In the containers things arerunning as `root` and `git` doesn't like that so try to convince gitthat it should like it.
Install `git` executable in container builds (#9152)Precompiled artifacts for macOS show this for `wasmtime --version` wasmtime-cli 24.0.0 (6fc3d274c 2024-08-20)whereas for Linux they show
Install `git` executable in container builds (#9152)Precompiled artifacts for macOS show this for `wasmtime --version` wasmtime-cli 24.0.0 (6fc3d274c 2024-08-20)whereas for Linux they show wasmtime-cli 24.0.0and this is due to `git` not being available in the build environment onLinux.
Clean up dist build configuration (#9113)* Clean up dist build configuration* Move updating `$PATH` to the `main.js` script which is the one that mounts `/rust/bin` so that knowledge isn't spre
Clean up dist build configuration (#9113)* Clean up dist build configuration* Move updating `$PATH` to the `main.js` script which is the one that mounts `/rust/bin` so that knowledge isn't spread around.* Remove some unused env vars in docker containers.* Forward cargo/rust-specific env vars to the build from outside of containers to the build itself.prtest:full* Change how musl rustflags are configured* More rustflags changes* Review feedback
Refactor installation of C API and features supported (#8642)* Refactor installation of C API and features supportedThis commit overhauls and refactors the management of the building ofthe C AP
Refactor installation of C API and features supported (#8642)* Refactor installation of C API and features supportedThis commit overhauls and refactors the management of the building ofthe C API. Instead of this being script-based it's now done entirelythrough CMake and CMake is the primary focus for building the C API. Forexample building the C API release artifacts is now done through CMakeinstead of through a shell script's `cargo build` and manually movingartifacts.The benefits that this brings are:* The C API now properly hides symbols in its header files that weren't enabled at build time. This is done through a new build-time generated `conf.h` templated on a `conf.h.in` file in the source tree.* The C API's project now supports enabling/disabling Cargo features to have finer-grained support over what's included (plus auto-management of the header file).* Building the C API and managing it is now exclusively done through CMake. For example invoking `doxygen` now lives in CMake, installation lives there, etc.The `CMakeLists.txt` file for the C API is overhauled in the process ofdoing this. The build now primarily matches on the Rust target beingbuilt rather than the host target. Additionally installation will nowinstall both the static and shared libraries instead of just one.Additionally during this refactoring various bits and pieces ofAndroid-specific code were all removed. Management of the C toolchainfeels best left in scope of the caller (e.g. configuring `CC_*` env varsand such) rather than here.prtest:full* Don't use `option` for optional strings* Invert release build checkAlso adjust some indentation* Fix more indentation* Remove no-longer-used variable* Reduce duplication in feature macro
add riscv64 backend for cranelift. (#4271)Add a RISC-V 64 (`riscv64`, RV64GC) backend. Co-authored-by: yuyang <[email protected]> Co-authored-by: Chris Fallin <[email protected]> Co-authored-by
add riscv64 backend for cranelift. (#4271)Add a RISC-V 64 (`riscv64`, RV64GC) backend. Co-authored-by: yuyang <[email protected]> Co-authored-by: Chris Fallin <[email protected]> Co-authored-by: Afonso Bordado <[email protected]>