mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00
checkpoint
This commit is contained in:
parent
3c8dbce72e
commit
5e4f43e1d8
12 changed files with 296 additions and 109 deletions
|
@ -128,7 +128,13 @@ impl IntWidth {
|
|||
U128 | I128 => {
|
||||
// the C ABI defines 128-bit integers to always be 16B aligned,
|
||||
// according to https://reviews.llvm.org/D28990#655487
|
||||
16
|
||||
//
|
||||
// however, rust does not always think that this is true
|
||||
match target_info.architecture {
|
||||
Architecture::X86_64 => 8,
|
||||
Architecture::Aarch64 | Architecture::Aarch32 | Architecture::Wasm32 => 16,
|
||||
Architecture::X86_32 => 8,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue