diff options
author | Noah Vogt | 2024-02-16 19:03:16 +0100 |
---|---|---|
committer | Noah Vogt | 2024-02-16 19:03:16 +0100 |
commit | e08cff6441119fcbe638e0096eb85b5e04e8371e (patch) | |
tree | 24ec76ba955c4c80f4015b0b35984ad846277bcc | |
parent | 840840556f731443a0a2e544fb4696d0ba56183b (diff) | |
download | aur-e08cff6441119fcbe638e0096eb85b5e04e8371e.tar.gz |
add rust flags
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -300,7 +300,16 @@ build() { 'clang_base_path="/usr"' 'clang_use_chrome_plugins=false' "clang_version=\"$_clang_version\"" - #'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile + 'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile + ) + + # Allow the use of nightly features with stable Rust compiler + # https://github.com/ungoogled-software/ungoogled-chromium/pull/2696#issuecomment-1918173198 + export RUSTC_BOOTSTRAP=1 + + _flags+=( + 'rust_sysroot_absolute="/usr"' + "rustc_version=\"$(rustc --version)\"" ) fi |