diff options
Diffstat (limited to 'www/iridium/files/patch-build_config_rust.gni')
| -rw-r--r-- | www/iridium/files/patch-build_config_rust.gni | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/iridium/files/patch-build_config_rust.gni b/www/iridium/files/patch-build_config_rust.gni index 67f69c98dbe6..94cefeb2bdec 100644 --- a/www/iridium/files/patch-build_config_rust.gni +++ b/www/iridium/files/patch-build_config_rust.gni @@ -1,6 +1,16 @@ ---- build/config/rust.gni.orig 2025-09-11 13:19:19 UTC +--- build/config/rust.gni.orig 2025-11-06 10:11:34 UTC +++ build/config/rust.gni -@@ -369,7 +369,11 @@ if (is_linux || is_chromeos) { +@@ -62,7 +62,8 @@ declare_args() { + # set this to the output of `rustc -V`. Changing this string will cause all + # Rust targets to be rebuilt, which allows you to update your toolchain and + # not break incremental builds. +- rustc_version = "" ++ rustc_version = exec_script("//build/gn_run_binary.py", ++ [ "/usr/local/bin/rustc", "-V" ], "trim string") + + # Whether artifacts produced by the Rust compiler can participate in ThinLTO. + # +@@ -329,7 +330,11 @@ if (is_linux || is_chromeos) { } } |
