mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
msp430: fix compilation of liballoc
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
const INITIAL_CAPACITY: usize = 7; // 2^3 - 1
|
||||
const MINIMUM_CAPACITY: usize = 1; // 2 - 1
|
||||
#[cfg(target_pointer_width = "16")]
|
||||
const MAXIMUM_ZST_CAPACITY: usize = 1 << (16 - 1); // Largest possible power of two
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
const MAXIMUM_ZST_CAPACITY: usize = 1 << (32 - 1); // Largest possible power of two
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
|
||||
Reference in New Issue
Block a user