Skip to content

Commit 2c43746

Browse files
committed
use nicer code style to define DEFAULT_MIN_STACK_SIZE
1 parent 4d3cf5b commit 2c43746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/hermit/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub struct Thread {
1616
unsafe impl Send for Thread {}
1717
unsafe impl Sync for Thread {}
1818

19-
pub const DEFAULT_MIN_STACK_SIZE: usize = 1_048_576;
19+
pub const DEFAULT_MIN_STACK_SIZE: usize = 1 << 20;
2020

2121
impl Thread {
2222
pub unsafe fn new_with_coreid(

0 commit comments

Comments
 (0)