about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-06 19:07:42 +0000
committerbors <bors@rust-lang.org>2020-01-06 19:07:42 +0000
commitef92009c1dbe2750f1d24a6619b827721fb49749 (patch)
tree38bbc9fa9b06c7cf2d0101397b7b80ec40117fca /src/libstd/sys_common
parentebbb2bf37aedaaa64dfaa52ba337ca6efb6b9093 (diff)
parentd61e193cd0867da2fbe81fca349bd1c0afc36d08 (diff)
downloadrust-ef92009c1dbe2750f1d24a6619b827721fb49749.tar.gz
rust-ef92009c1dbe2750f1d24a6619b827721fb49749.zip
Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton
Standard library support for riscv64gc-unknown-linux-gnu

Add std support for RISC-V 64-bit GNU/Linux and update libc for RISC-V support.

r? @alexcrichton
Diffstat (limited to 'src/libstd/sys_common')
-rw-r--r--src/libstd/sys_common/alloc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/sys_common/alloc.rs b/src/libstd/sys_common/alloc.rs
index 713b9949f64..c6694100785 100644
--- a/src/libstd/sys_common/alloc.rs
+++ b/src/libstd/sys_common/alloc.rs
@@ -22,7 +22,8 @@ pub const MIN_ALIGN: usize = 8;
     target_arch = "aarch64",
     target_arch = "mips64",
     target_arch = "s390x",
-    target_arch = "sparc64"
+    target_arch = "sparc64",
+    target_arch = "riscv64"
 )))]
 pub const MIN_ALIGN: usize = 16;