diff options
| author | bors <bors@rust-lang.org> | 2023-04-27 01:29:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-27 01:29:50 +0000 |
| commit | e3ccd4b9a51ded19bf1c3f6c647c96b6dd52eced (patch) | |
| tree | 718d4eee09435a90d9010844d46e1f350715f1c5 /library/core/src | |
| parent | cb9aa8c9c19236f09667dc0bddbe6daee638696c (diff) | |
| parent | e7ed5ba773661805020cb864a5bd6fc1714130ba (diff) | |
| download | rust-e3ccd4b9a51ded19bf1c3f6c647c96b6dd52eced.tar.gz rust-e3ccd4b9a51ded19bf1c3f6c647c96b6dd52eced.zip | |
Auto merge of #110562 - ComputerDruid:riscv, r=tmandry
Add definitions for riscv64gc-unknown-fuchsia To compile, also requires a libc update with https://github.com/rust-lang/libc/pull/3204
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/ffi/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/core/src/ffi/mod.rs b/library/core/src/ffi/mod.rs index c4f554c8c6b..146e8d3d22a 100644 --- a/library/core/src/ffi/mod.rs +++ b/library/core/src/ffi/mod.rs @@ -143,7 +143,10 @@ mod c_char_definition { target_arch = "powerpc" ) ), - all(target_os = "fuchsia", target_arch = "aarch64"), + all( + target_os = "fuchsia", + any(target_arch = "aarch64", target_arch = "riscv64") + ), all(target_os = "nto", target_arch = "aarch64"), target_os = "horizon" ))] { |
