From b0cbe521ae29319789ef6528706c08bca170ff7c Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 23 Mar 2018 09:36:26 -0700 Subject: [PATCH] Don't remove the `main` function This is actually significant nowadays! --- wasm-gc-api/src/gc.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/wasm-gc-api/src/gc.rs b/wasm-gc-api/src/gc.rs index 86309f1..4cdb2fd 100644 --- a/wasm-gc-api/src/gc.rs +++ b/wasm-gc-api/src/gc.rs @@ -10,7 +10,6 @@ pub fn run(config: &mut Config, module: &mut Module) { let analysis = { let mut cx = LiveContext::new(&module); - cx.blacklist.insert("main"); cx.blacklist.insert("__ashldi3"); cx.blacklist.insert("__ashlti3"); cx.blacklist.insert("__ashrdi3");