diff options
Diffstat (limited to 'www-client/chromium/files/01fix-rust-target.patch')
-rw-r--r-- | www-client/chromium/files/01fix-rust-target.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/01fix-rust-target.patch b/www-client/chromium/files/01fix-rust-target.patch new file mode 100644 index 0000000..51d7056 --- /dev/null +++ b/www-client/chromium/files/01fix-rust-target.patch @@ -0,0 +1,13 @@ +diff --git a/build/config/rust.gni b/build/config/rust.gni +index 9b0ee754ba5e2..9e6d6ba5acb0b 100644 +--- a/build/config/rust.gni ++++ b/build/config/rust.gni +@@ -214,6 +214,8 @@ if (is_linux || is_chromeos) { + } else { + rust_abi_target = "arm-unknown-linux-gnueabi" + float_suffix + } ++ } else if (current_cpu == "riscv64") { ++ rust_abi_target = "riscv64gc-unknown-linux-gnu" + } else { + # Best guess for other future platforms. + rust_abi_target = current_cpu + "-unknown-linux-gnu" |