From ee52c1bbd4ffde227b80e48a3f896840afab0112 Mon Sep 17 00:00:00 2001 From: zihang Date: Mon, 28 Oct 2024 10:34:28 +0800 Subject: [PATCH] fix(moonbit): ignore more stubs --- crates/moonbit/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/moonbit/src/lib.rs b/crates/moonbit/src/lib.rs index b021ebc86..0fb989372 100644 --- a/crates/moonbit/src/lib.rs +++ b/crates/moonbit/src/lib.rs @@ -537,8 +537,8 @@ impl WorldGenerator for MoonBit { files.push(&format!("{directory}/top.mbt"), indent(&src).as_bytes()); if !self.opts.ignore_stub { files.push(&format!("{directory}/stub.mbt"), indent(&stub).as_bytes()); + generate_pkg_definition(&name, files); } - generate_pkg_definition(&name, files); generate_ffi(directory, fragments, files); }