diff options
| author | zhaixiaojuan <zhaixiaojuan@loongson.cn> | 2023-03-28 16:18:12 +0800 |
|---|---|---|
| committer | wangrui <wangrui@loongson.cn> | 2023-04-08 00:09:54 +0800 |
| commit | a3f0046142aec8e00d3e8192f83a8cc0bacef9e8 (patch) | |
| tree | 14b23ebb2b60d53855cb12a92e7ede7044d32fe0 /compiler/rustc_codegen_gcc | |
| parent | bf1758d229d08a1a40fb78c0031bba26060a8fe6 (diff) | |
| download | rust-a3f0046142aec8e00d3e8192f83a8cc0bacef9e8.tar.gz rust-a3f0046142aec8e00d3e8192f83a8cc0bacef9e8.zip | |
Define MIN_ALIGN for loongarch64
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/alloc_system.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/example/alloc_system.rs b/compiler/rustc_codegen_gcc/example/alloc_system.rs index 9ec18da90d8..046903fe5ac 100644 --- a/compiler/rustc_codegen_gcc/example/alloc_system.rs +++ b/compiler/rustc_codegen_gcc/example/alloc_system.rs @@ -15,6 +15,7 @@ const MIN_ALIGN: usize = 8; #[cfg(any(target_arch = "x86_64", target_arch = "aarch64", + target_arch = "loongarch64", target_arch = "mips64", target_arch = "s390x", target_arch = "sparc64"))] |
