From f3156114c4fd126f0ca35e77bc81991056085885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Wed, 13 Jan 2021 04:24:02 +0100 Subject: [PATCH] =?UTF-8?q?reserve=20keys=200,=201=20and=202=C2=A0for=20st?= =?UTF-8?q?dio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/wasi-c2/src/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasi-c2/src/table.rs b/crates/wasi-c2/src/table.rs index 788f8cebfd..9cfbb3691b 100644 --- a/crates/wasi-c2/src/table.rs +++ b/crates/wasi-c2/src/table.rs @@ -12,7 +12,7 @@ impl Table { pub fn new() -> Self { Table { map: HashMap::new(), - next_key: 0, + next_key: 3, // 0, 1 and 2 are reserved for stdio } }