diff --git a/packages/rust/bootstrap.toml.in b/packages/rust/bootstrap.toml.in index 1ac62dd..ae20f6b 100644 --- a/packages/rust/bootstrap.toml.in +++ b/packages/rust/bootstrap.toml.in @@ -376,6 +376,12 @@ build.ccache = false # For example, exclude = ["tests/ui", "src/tools/tidy"]. #build.exclude = [] +# Link the compiler and LLVM against the specified allocator instead of the default libc allocator. +# This option is only tested on Linux and OSX. It can also be configured per-target in the +# [target.] section. +# Possible options: "jemalloc" +#build.allocator = + # ============================================================================= # General install configuration options # ============================================================================= @@ -680,11 +686,6 @@ rust.verify-llvm-ir = false # Useful for reproducible builds. Generally only set for releases rust.remap-debuginfo = true -# Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. -# This option is only tested on Linux and OSX. It can also be configured per-target in the -# [target.] section. -rust.jemalloc = false - # Run tests in various test suites with the "nll compare mode" in addition to # running the tests in normal mode. Largely only used on CI and during local # development of NLL diff --git a/packages/rust/pkgbuild.py b/packages/rust/pkgbuild.py index aeae3dc..d32e28e 100644 --- a/packages/rust/pkgbuild.py +++ b/packages/rust/pkgbuild.py @@ -6,7 +6,7 @@ from lib.make import * from lib import arch -upstream_version = "1.99.1" +upstream_version = "1.100.0" version(upstream_version) description("A language empowering everyone to build reliable and efficient software") @@ -16,9 +16,9 @@ source_url(f"https://static.rust-lang.org/dist/rustc-{upstream_version}-src.tar. builddep("shortcut/cmake") builddep("shortcut/c++") builddep("python") -builddep(f"libz-ng-dev @{arch.get_target()}") -builddep(f"linux-dev @{arch.get_target()}") -builddep(f"libunwind-dev @{arch.get_target()}") +builddep("libz-ng-dev @target") +builddep("linux-dev @target") +builddep("libunwind-dev @target") builddep("curl") builddep("grep") builddep("sed")