cross-toolchains
cargo-bisect-rustc
cross-toolchains | cargo-bisect-rustc | |
---|---|---|
6 | 4 | |
73 | 172 | |
- | 1.2% | |
4.9 | 7.8 | |
about 1 month ago | 7 days ago | |
Dockerfile | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cross-toolchains
-
Compiling Linux to Mac in CI/CD
Looks like cross is the easiest way to get something cross-compiled but its Mac support is blocked behind building your own build image. Even that repo says that it might be broken.
- Hey Rustaceans! Got a question? Ask here (13/2023)!
-
Does anyone have resources on cross-compiling windows to mac?
Your target is not directly supported (licensing issues I presume), but there seems to be a way to create your own image and then use it. It's worth a try.
-
Cross v0.2.2 Released
A lot of work has been spent making the process as painless as possible. A crosstool-ng image is slightly more complex, but still quite easy: you just need a valid config file. The basic logic can be found here, and cross-toolchains has a few more examples.
cargo-bisect-rustc
-
Goodbye to the C++ Implementation of Zig
> One big downside is losing the ability to build any commit from source without meta-complexity creeping in. For example, let’s say that you are trying to do git bisect. At some point, git checks out an older commit, but the script fails to build from source because the binary that is being used to build the compiler is now the wrong version. Sure, this can be addressed, but this introduces unwanted complexity that contributors would rather not deal with.
If it's the main concern of using a prior build of the compiler, an alternative solution is to develop a tool for contributors to automate and ease the process. For example, Rust has this: https://github.com/rust-lang/cargo-bisect-rustc
-
Cross v0.2.2 Released
Added support for tools like cargo-bisect-rustc.
- Why does my code compile faster on nightly?
-
1.56 Compile time is through the roof!?
Finally, https://github.com/rust-lang/cargo-bisect-rustc/blob/master/TUTORIAL.md can bisect Nightlies or (if recent enough, I think CI artifacts are kept 3 months) PRs to tell you one introduced a problem.
What are some alternatives?
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
zvm - zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.
lxd-snapper - LXD snapshots, automated
cargo-llvm-lines - Count lines of LLVM IR per generic function
webdriver-downloader - Cli Interface&Library for webdriver download.
live-bootstrap - Use of a Linux initramfs to fully automate the bootstrapping process
cargo-zigbuild - Compile Cargo project with zig as linker
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
wasm-bindgen-serde-example
nix-zig-stdenv - cross-compile nixpkgs with zig
rust - Empowering everyone to build reliable and efficient software.