removed 1 line of code from greenthreads
This commit is contained in:
@@ -277,8 +277,7 @@ in that book. The code below is wildly unsafe and it's just to show a real examp
|
||||
It's not in any way meant to showcase "best practice". Just so we're on
|
||||
the same page.</p>
|
||||
</blockquote>
|
||||
<pre><pre class="playpen"><code class="language-rust edition2018">#![feature(asm)]
|
||||
#![feature(naked_functions)]
|
||||
<pre><pre class="playpen"><code class="language-rust edition2018">#![feature(asm, naked_functions)]
|
||||
use std::ptr;
|
||||
|
||||
const DEFAULT_STACK_SIZE: usize = 1024 * 1024 * 2;
|
||||
|
||||
Reference in New Issue
Block a user