mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 22:45:14 +00:00
Use target_info for discriminant alignment
This commit is contained in:
parent
b421c53bb5
commit
4f43210218
2 changed files with 12 additions and 8 deletions
|
@ -99,6 +99,7 @@ impl IntWidth {
|
|||
|
||||
matches!(self, I8 | I16 | I32 | I64 | I128)
|
||||
}
|
||||
|
||||
pub const fn stack_size(&self) -> u32 {
|
||||
use IntWidth::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue