removed 1 line of code from greenthreads

This commit is contained in:
cfsamson
2020-04-07 11:47:32 +02:00
parent f99523aaf5
commit 01181ce2a2
5 changed files with 5 additions and 8 deletions

View File

@@ -331,8 +331,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;