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 | 556ab2628384398dedbc6b7700b1fd7899336c3d (patch) | |
| tree | ede84f6f1231c0f57e7b9d2cc1ba96ca391cb1e8 | |
| parent | 0c115bf8b8a6973711cb4e8b3c0f62e2551c20a5 (diff) | |
| download | rust-556ab2628384398dedbc6b7700b1fd7899336c3d.tar.gz rust-556ab2628384398dedbc6b7700b1fd7899336c3d.zip | |
Define MIN_ALIGN for loongarch64
| -rw-r--r-- | example/alloc_system.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/alloc_system.rs b/example/alloc_system.rs index 9ec18da90d8..046903fe5ac 100644 --- a/example/alloc_system.rs +++ b/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"))] |
