The starlark-rust project provides a Rust implementation of the
Starlark language.
Starlark is a deterministic language inspired by Python3, used for configuration
in the build systems
Bazel, Buck and Buck2
Project features:
- Easy interoperability between Rust types and Starlark.
- Rust-friendly types, so frozen values are Send/Sync, while non-frozen
values aren't.
- Garbage collected values allocated on a heap.
- Optional runtime-checked types.
- A linter, to detect code issues in Starlark.
- IDE integration in the form of LSP.
- Extensive testing, including fuzz testing.
- DAP support.
Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
in the cross-compilation mode.
Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.
Immadiate benefits:
(Only the first 15 lines of the commit message are shown above )