aboutsummaryrefslogtreecommitdiff
path: root/lang/rust
Commit message (Collapse)AuthorAge
* rust: enable riscv64 supportTianling Shen2023-06-07
| | | | | | rust natively supports riscv64 so let's enable it. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: bump libc to 0.2.146Tianling Shen2023-06-07
| | | | | | Fixes build with musl 1.2.4. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: update to 1.70.0Luca Barbato2023-06-05
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust: update to 1.69.0Luca Barbato2023-04-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust: update to 1.68.2Luca Barbato2023-04-03
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust: update to 1.68.1Oskari Rauta2023-03-31
| | | | | | | | | also add new variable CARGO_VARS to make it possible to pass environment variables for cargo process. This is necessary when for example, cross-compiling netavark. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* rust: fix build with glibcTianling Shen2023-03-24
| | | | | | Don't set musl-specific options/ldflags when using glibc. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: enable use of prebuilt llvm toolchainTianling Shen2023-03-24
| | | | | | | llvm-bpf is not ready for generic usage, so use prebuilt llvm toolchain provided by the rust project to speedup build (~1hour faster). Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* maturin: adapt new rust build standardTianling Shen2023-03-24
| | | | | | While at it, move maturin out of rust directory. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: refactor build helperTianling Shen2023-03-24
| | | | | | | | | Added new RustBinPackage, RustBinHostBuild wrapper. Added new RUST_PKG_FEATURES flag. Moved CARGO_HOME to STAGING_DIR_HOSTPKG. Overrode default Build/Compile and Host/Compile to Cargo build. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: remove useless target dependencies and configurationTianling Shen2023-03-24
| | | | | | They are for the target build which is not supported yet, drop them. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: remove useless tarball packageTianling Shen2023-03-24
| | | | | | | | These tarball cannot be reused, so simply drop them. Also move cargo config to a file instead of using echo command. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust-lang: update to 1.68.0Luca Barbato2023-03-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust-lang: Add an Host/Compile helper as wellLuca Barbato2023-03-10
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust-lang: Apply suggestions from code reviewLuca Barbato2023-03-10
| | | | | Co-authored-by: Tianling Shen <cnsztl@gmail.com> Signed-off-by: Luca Barbato <luca.barbato@gmail.com>
* maturin: Add packageLuca Barbato2023-03-10
| | | | | | Build tool for rust-python packages. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rust-lang: Add the rust language supportLuca Barbato2023-03-10
Based on work from Donald Hoskins <grommish@gmail.com>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>