├── .cargo └── config.toml ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── cd.yml │ ├── check-merge-commit.yml │ ├── ci.yml │ └── manual.yml ├── .gitignore ├── .gitmodules ├── .justfile ├── AGENTS.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── _typos.toml ├── changes.md ├── clippy.toml ├── crates ├── moon │ ├── Cargo.toml │ ├── src │ │ ├── cli.rs │ │ ├── cli │ │ │ ├── bench.rs │ │ │ ├── build.rs │ │ │ ├── build_matrix.rs │ │ │ ├── bundle.rs │ │ │ ├── check.rs │ │ │ ├── clean.rs │ │ │ ├── coverage.rs │ │ │ ├── deps.rs │ │ │ ├── doc.rs │ │ │ ├── external.rs │ │ │ ├── fmt.rs │ │ │ ├── generate_test_driver.rs │ │ │ ├── info.rs │ │ │ ├── info │ │ │ │ └── imp.rs │ │ │ ├── mooncake_adapter.rs │ │ │ ├── new.rs │ │ │ ├── pre_build.rs │ │ │ ├── query.rs │ │ │ ├── run.rs │ │ │ ├── shell_completion.rs │ │ │ ├── test.rs │ │ │ ├── tool.rs │ │ │ ├── tool │ │ │ │ ├── build_binary_dep.rs │ │ │ │ ├── embed.rs │ │ │ │ ├── format_and_diff.rs │ │ │ │ └── write_rsp_file.rs │ │ │ ├── update.rs │ │ │ ├── upgrade.rs │ │ │ └── version.rs │ │ ├── filter.rs │ │ ├── main.rs │ │ ├── panic.rs │ │ ├── rr_build │ │ │ ├── dry_run.rs │ │ │ └── mod.rs │ │ ├── run │ │ │ ├── child.rs │ │ │ ├── mod.rs │ │ │ ├── runtest.rs │ │ │ ├── runtest │ │ │ │ ├── filter.rs │ │ │ │ └── promotion.rs │ │ │ └── runtime.rs │ │ └── watch │ │ │ ├── filter_files.rs │ │ │ ├── mod.rs │ │ │ └── prebuild_output.rs │ └── tests │ │ ├── build_graph │ │ └── mod.rs │ │ ├── dry_run_utils.rs │ │ ├── mod.rs │ │ ├── test_cases │ │ ├── all_kind_test.in │ │ │ ├── lib │ │ │ │ ├── README.mbt.md │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── ambiguous_pkg.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── deps │ │ │ │ └── ambiguous │ │ │ │ │ ├── README.md │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ └── src │ │ │ │ │ └── ambiguous │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── is │ │ │ │ └── ambiguous │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── backend │ │ │ ├── flag │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── js_format │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib0 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── mod.rs │ │ ├── backend_config │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── backtrace.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── bench2.in │ │ │ ├── bench2.mbt │ │ │ ├── bench2_test.mbt │ │ │ ├── moon.mod.json │ │ │ └── moon.pkg.json │ │ ├── bench2 │ │ │ └── mod.rs │ │ ├── bench2_test.in │ │ │ ├── dir_0_0 │ │ │ │ ├── m_0_0_0_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_0_0_0_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_0_0_1_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── m_0_0_1_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── dir_0_1 │ │ │ │ ├── m_0_1_0_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_0_1_0_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_0_1_1_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── m_0_1_1_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── dir_1_0 │ │ │ │ ├── m_1_0_0_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_1_0_0_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_1_0_1_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── m_1_0_1_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── dir_1_1 │ │ │ │ ├── m_1_1_0_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_1_1_0_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── m_1_1_1_0 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── m_1_1_1_1 │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── blackbox │ │ │ ├── mod.rs │ │ │ ├── test_blackbox_success_check.jsonl.snap │ │ │ ├── test_blackbox_success_packages.json.snap │ │ │ ├── test_blackbox_success_test.jsonl.snap │ │ │ └── test_blackbox_test_core_override.jsonl.snap │ │ ├── blackbox_failed_test.in │ │ │ ├── A │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── B │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── C │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── blackbox_success_test.in │ │ │ ├── A │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── B │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── C │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── D │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── blackbox_test_core_override.in │ │ │ ├── builtin │ │ │ │ ├── main.mbt │ │ │ │ ├── main_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── prelude │ │ │ │ └── moon.pkg.json │ │ ├── blackbox_test_dedup_alias.in │ │ │ ├── dir │ │ │ │ └── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── lib │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── cakenew_test.in │ │ │ ├── .gitignore │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── capture_abort_test.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── check_failed_should_write_pkg_json.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── circle_pkg_ab_001_test │ │ │ ├── A │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── B │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── cond_comp.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── all.mbt │ │ │ │ ├── all_wasm.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── js_and_release.mbt │ │ │ │ ├── js_only_test.mbt │ │ │ │ ├── js_or_wasm.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── native_and_wasm.mbt │ │ │ │ ├── native_only.mbt │ │ │ │ ├── not_js.mbt │ │ │ │ ├── only_debug.mbt │ │ │ │ ├── only_js.mbt │ │ │ │ ├── only_wasm.mbt │ │ │ │ ├── only_wasm_gc.mbt │ │ │ │ └── wasm_release_or_js_debug.mbt │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── cond_comp │ │ │ └── mod.rs │ │ ├── cond_comp_errors.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── debug_flag_test │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── dep_order │ │ │ ├── dep_order │ │ │ │ ├── a │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── src.mbt │ │ │ │ ├── b │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── src.mbt │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ └── moon.pkg.json │ │ │ └── mod.rs │ │ ├── design │ │ │ ├── lib │ │ │ │ ├── list │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── queue │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── stack │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── vec │ │ │ │ │ ├── lib.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── vec.mbt │ │ │ ├── main1 │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main2 │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── diag_loc_map.in │ │ │ ├── moon.mod.json │ │ │ ├── moon.pkg.json │ │ │ ├── parser.mbt │ │ │ ├── parser.mbt.map.json │ │ │ └── parser.mbty │ │ ├── diagnostics_format │ │ │ ├── build.rs │ │ │ ├── bundle.rs │ │ │ ├── check.rs │ │ │ ├── mod.rs │ │ │ ├── run.rs │ │ │ └── test.rs │ │ ├── diamond_pkg │ │ │ ├── 001 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── C │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── 002 │ │ │ │ ├── A │ │ │ │ │ ├── A0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── A1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── A2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── B0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── B1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── B2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── C │ │ │ │ │ ├── C0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── C1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── C2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── 003 │ │ │ │ ├── A │ │ │ │ │ ├── A0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── A1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── A2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── B0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── B1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── B2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── C │ │ │ │ │ ├── C0 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── C1 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── C2 │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── mod.rs │ │ ├── diff_mbti.in │ │ │ ├── .gitignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── 1.js.mbt │ │ │ │ ├── 1.native.mbt │ │ │ │ ├── 1.wasm-gc.mbt │ │ │ │ ├── 1.wasm.mbt │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.generated.mbti │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ ├── main.mbti │ │ │ │ └── moon.pkg.json │ │ ├── docs_examples │ │ │ ├── avl_tree │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── avl.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── docstring_demo │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── mod.rs │ │ │ ├── multidimensional_arrays │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── arrays.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── palindrome_string │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── str_iter.mbt │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── unicode_demo │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── dont_link_third_party.in │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── third_party │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── dummy_core │ │ │ ├── 0 │ │ │ │ ├── lib.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── y.js.mbt │ │ │ │ ├── y.wasm-gc.mbt │ │ │ │ ├── y.wasm.mbt │ │ │ │ ├── y_wbtest.js.mbt │ │ │ │ ├── y_wbtest.mbt │ │ │ │ ├── y_wbtest.wasm-gc.mbt │ │ │ │ └── y_wbtest.wasm.mbt │ │ │ ├── 1 │ │ │ │ ├── lib.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── x.js.mbt │ │ │ │ ├── x.wasm-gc.mbt │ │ │ │ ├── x.wasm.mbt │ │ │ │ └── x_wbtest.wasm-gc.mbt │ │ │ ├── 2 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── build_default.jsonl.snap │ │ │ ├── build_js.jsonl.snap │ │ │ ├── build_wasm.jsonl.snap │ │ │ ├── build_wasm_gc.jsonl.snap │ │ │ ├── bundle.jsonl.snap │ │ │ ├── bundle_all_targets.jsonl.snap │ │ │ ├── bundle_js.jsonl.snap │ │ │ ├── bundle_wasm.jsonl.snap │ │ │ ├── bundle_wasm_gc.jsonl.snap │ │ │ ├── char │ │ │ │ └── moon.pkg.json │ │ │ ├── check_default.jsonl.snap │ │ │ ├── check_js.jsonl.snap │ │ │ ├── check_wasm.jsonl.snap │ │ │ ├── check_wasm_gc.jsonl.snap │ │ │ ├── coverage.jsonl.snap │ │ │ ├── coverage │ │ │ │ └── moon.pkg.json │ │ │ ├── iter │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ ├── packages_js.json.snap │ │ │ ├── packages_wasm_gc.json.snap │ │ │ ├── prelude │ │ │ │ └── moon.pkg.json │ │ │ ├── test_default.jsonl.snap │ │ │ ├── test_js.jsonl.snap │ │ │ ├── test_wasm.jsonl.snap │ │ │ └── test_wasm_gc.jsonl.snap │ │ ├── export_memory.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── extra_flags │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── fancy_import │ │ │ ├── import001 │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── import002 │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── import003 │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── import004 │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── mod.rs │ │ ├── filter_by_path │ │ │ ├── mod.rs │ │ │ └── snapshots │ │ │ │ ├── build_A.stdout │ │ │ │ ├── build_A_dot.stdout │ │ │ │ ├── build_A_file.stdout │ │ │ │ ├── build_A_lib.stdout │ │ │ │ ├── build_A_slash.stdout │ │ │ │ ├── build_lib.stdout │ │ │ │ ├── build_main.stdout │ │ │ │ ├── build_relative_lib.stdout │ │ │ │ ├── check_A.stdout │ │ │ │ ├── check_A_dot.stdout │ │ │ │ ├── check_A_file.stdout │ │ │ │ ├── check_A_file_inside.stdout │ │ │ │ ├── check_A_lib.stdout │ │ │ │ ├── check_A_slash.stdout │ │ │ │ ├── check_lib.stdout │ │ │ │ ├── check_main.stdout │ │ │ │ ├── check_relative_A.stdout │ │ │ │ └── check_relative_A_file.stdout │ │ ├── fmt │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── test.mbt.md │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── fmt_ignore │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_ignore.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── fuzzy_matching.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ └── src │ │ │ │ ├── x │ │ │ │ ├── lib.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── x_test.mbt │ │ │ │ ├── x_wbtest.mbt │ │ │ │ └── y │ │ │ │ │ ├── lib.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── x_y_test.mbt │ │ │ │ │ └── x_y_wbtest.mbt │ │ │ │ └── y │ │ │ │ ├── lib.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── y_test.mbt │ │ │ │ └── y_wbtest.mbt │ │ ├── fuzzy_matching │ │ │ └── mod.rs │ │ ├── general.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── hello │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── import_memory.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── import_shared_memory.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── indirect_dep.in │ │ │ ├── indirect_dep1 │ │ │ │ ├── cmd │ │ │ │ │ └── main │ │ │ │ │ │ ├── main.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── indirect_dep.mbt │ │ │ │ ├── indirect_dep_test.mbt │ │ │ │ ├── lib1 │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── src.mbt │ │ │ │ ├── lib2 │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── src.mbt │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ └── sub │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── p │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── src.mbt │ │ │ │ │ └── sub.mbt │ │ │ └── indirect_dep2 │ │ │ │ ├── cmd │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ ├── moon.pkg.json │ │ │ │ └── src.mbt │ │ │ │ ├── lib2 │ │ │ │ ├── moon.pkg.json │ │ │ │ └── src.mbt │ │ │ │ ├── moon.mod.json │ │ │ │ ├── src │ │ │ │ ├── indirect_dep.mbt │ │ │ │ ├── indirect_dep_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── sub │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── p │ │ │ │ ├── moon.pkg.json │ │ │ │ └── src.mbt │ │ │ │ └── sub.mbt │ │ ├── indirect_dep │ │ │ ├── build_all_pkgs.json │ │ │ ├── bundle_all_pkgs.json │ │ │ ├── check_all_pkgs.json │ │ │ ├── info_all_pkgs.json │ │ │ ├── mod.rs │ │ │ ├── run_all_pkgs.json │ │ │ └── test_all_pkgs.json │ │ ├── inline_test │ │ │ ├── 001 │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── 002 │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── 003 │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── 004 │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── mod.rs │ │ │ └── order │ │ │ │ ├── .gitignore │ │ │ │ ├── A │ │ │ │ ├── A_wbtest.mbt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ ├── B_wbtest.mbt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── internal_package.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ ├── internal │ │ │ │ │ ├── b │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.pkg.json │ │ │ ├── lib2 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── mbti │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── mod.rs │ │ ├── moon_bench │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_bench.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── moon_build_package.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.pkg.json │ │ │ │ └── top.mbt │ │ ├── moon_build_package │ │ │ └── mod.rs │ │ ├── moon_bundle │ │ │ ├── A │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── B │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── C │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── Orphan │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ └── prelude │ │ │ │ └── moon.pkg.json │ │ ├── moon_commands │ │ │ ├── lib │ │ │ │ ├── list │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── queue │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── stack │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── vec │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── main1 │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main2 │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── moon_coverage.rs │ │ ├── moon_doc.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── moon_info_001.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ ├── main.mbti │ │ │ │ └── moon.pkg.json │ │ ├── moon_info_001 │ │ │ └── mod.rs │ │ ├── moon_info_002.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── moon.test │ │ ├── moon_info_002 │ │ │ └── mod.rs │ │ ├── moon_info_compare_backends │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ └── moon_info_compare_backends.out │ │ ├── moon_install_bin.in │ │ │ ├── author1.in │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── main-js │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── main-native │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ └── main-wasm │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── author2.in │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── main-js │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── main-native │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ └── main-wasm │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── user.in │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── moon_new │ │ │ ├── exist │ │ │ │ └── .gitkeep │ │ │ ├── mod.rs │ │ │ ├── new │ │ │ │ └── .gitkeep │ │ │ ├── new_snapshot.expect │ │ │ ├── new_snapshot_with_user_name.expect │ │ │ ├── new_snapshot_with_user_name_different.expect │ │ │ ├── plain │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── snapshot │ │ │ │ ├── .gitkeep │ │ │ │ └── credentials.json │ │ ├── moon_new_and_watch │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── moon_run_with_cli_args.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── main_js.mbt │ │ │ │ ├── main_wasm.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── moon_run_with_cli_args_graph.jsonl │ │ ├── moon_test │ │ │ ├── async_test │ │ │ │ ├── async_test.mbt │ │ │ │ ├── moon.mod.json │ │ │ │ └── moon.pkg.json │ │ │ ├── async_test_inline │ │ │ │ ├── inline_test_file.mbt │ │ │ │ ├── moon.mod.json │ │ │ │ └── moon.pkg.json │ │ │ ├── cc_for_native_release │ │ │ │ ├── build_debug_graph.jsonl.snap │ │ │ │ ├── build_graph.jsonl.snap │ │ │ │ ├── build_release_graph.jsonl.snap │ │ │ │ ├── run_debug_graph.jsonl.snap │ │ │ │ ├── run_graph.jsonl.snap │ │ │ │ ├── run_release_graph.jsonl.snap │ │ │ │ ├── test_debug_graph.jsonl.snap │ │ │ │ └── test_release_graph.jsonl.snap │ │ │ ├── doctest_without_bbtest │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── dummy_async_impl │ │ │ │ ├── async.mbt │ │ │ │ ├── moon.mod.json │ │ │ │ └── moon.pkg.json │ │ │ ├── hello_exec │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── hello_exec_fntest │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── hello_lib │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ └── top.mbt │ │ │ ├── max_concurrent_tests │ │ │ │ ├── moon.mod.json │ │ │ │ ├── no_limit │ │ │ │ │ ├── async_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── with_limit │ │ │ │ │ ├── async_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon_test_hello_exec_fntest_graph.jsonl.snap │ │ │ ├── moon_test_hello_exec_graph.jsonl.snap │ │ │ ├── name_conflict │ │ │ │ ├── lib │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── top.mbt │ │ │ │ └── moon.mod.json │ │ │ ├── no_entry_warning │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── patch.rs │ │ │ ├── patch │ │ │ │ ├── 2.patch_test.json │ │ │ │ ├── 2.patch_wbtest.json │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── 1.mbt │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ ├── patch.json │ │ │ │ ├── patch_test.json │ │ │ │ └── patch_wbtest.json │ │ │ ├── patch_2_bbtest_dry_run_graph.jsonl.snap │ │ │ ├── patch_2_wbtest_dry_run_graph.jsonl.snap │ │ │ ├── patch_bbtest_dry_run_graph.jsonl.snap │ │ │ ├── patch_dry_run_graph.jsonl.snap │ │ │ ├── patch_wbtest_dry_run_graph.jsonl.snap │ │ │ ├── plain │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── nested │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ ├── lib_wbtest.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib5 │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── succ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── nested │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ ├── lib_wbtest.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── use_cc_for_native_release.rs │ │ │ ├── with_cfg.rs │ │ │ ├── with_cfg │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── with_local_deps │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── mods │ │ │ │ └── lijunchen │ │ │ │ │ ├── mooncake │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── hello.mbt │ │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── top.mbt │ │ │ │ │ └── mooncake2 │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ └── src │ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── top.mbt │ │ │ │ └── moon.mod.json │ │ ├── moon_test_single_file.in │ │ │ ├── .gitignore │ │ │ ├── 111.mbt.md │ │ │ ├── 222.mbt.md │ │ │ ├── single.mbt │ │ │ ├── with_main.mbt │ │ │ └── without_main.mbt │ │ ├── moon_test_target_js_panic_with_sourcemap.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── moon_version.rs │ │ ├── native_backend │ │ │ ├── cc_flags.rs │ │ │ ├── cc_flags │ │ │ │ ├── build_native_env_graph.jsonl.snap │ │ │ │ ├── build_native_env_paths_graph.jsonl.snap │ │ │ │ ├── build_native_graph.jsonl.snap │ │ │ │ ├── build_wasm_gc_graph.jsonl.snap │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── stub.c │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ ├── run_native_env_graph.jsonl.snap │ │ │ │ ├── run_native_env_paths_graph.jsonl.snap │ │ │ │ ├── run_native_graph.jsonl.snap │ │ │ │ ├── run_wasm_graph.jsonl.snap │ │ │ │ ├── test_native_env_graph.jsonl.snap │ │ │ │ ├── test_native_env_paths_graph.jsonl.snap │ │ │ │ ├── test_native_graph.jsonl.snap │ │ │ │ └── test_wasm_graph.jsonl.snap │ │ │ ├── mod.rs │ │ │ ├── parallel_msvc.rs │ │ │ ├── parallel_msvc │ │ │ │ ├── moon.mod.json │ │ │ │ └── template │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── tcc_run.rs │ │ │ ├── tcc_run │ │ │ │ ├── build_native_graph.jsonl.snap │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── stub.c │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ ├── test_native_linux_graph.jsonl.snap │ │ │ │ └── test_native_macos_graph.jsonl.snap │ │ │ ├── test_filter.rs │ │ │ └── test_filter │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── native_exports.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── native_stub.in │ │ │ ├── native_1.in │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── stub1.c │ │ │ │ │ └── stub2.c │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── native_2.in │ │ │ │ ├── libb │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── stub.c │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── native_3.in │ │ │ │ ├── libbb │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── stub.c │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── native_stub_stability │ │ │ ├── lib1 │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── stub1.c │ │ │ │ └── stub2.c │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── stub1.c │ │ │ │ └── stub2.c │ │ │ ├── lib3 │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── stub1.c │ │ │ │ └── stub2.c │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── need_link.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── no_block_params.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── no_export_when_test.in │ │ │ ├── moon.mod.json │ │ │ ├── moon.pkg.json │ │ │ ├── src.mbt │ │ │ └── src_test.mbt │ │ ├── no_export_when_test │ │ │ ├── build_graph.jsonl │ │ │ └── mod.rs │ │ ├── no_main_just_init.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── no_warn_deps.in │ │ │ ├── deps.in │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── user.in │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── nonexistent_package.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── pkg │ │ │ │ └── transient │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ └── moon.pkg.json │ │ ├── output_format │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── packages │ │ │ ├── core_order │ │ │ │ ├── .gitignore │ │ │ │ ├── A │ │ │ │ │ ├── a.mbt │ │ │ │ │ ├── a_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── b.mbt │ │ │ │ │ ├── b_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── T │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── t.mbt │ │ │ │ │ └── t_wbtest.mbt │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── empty_name │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── error_duplicate_alias │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── mod.rs │ │ ├── panic.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── plan.txt │ │ ├── post_build.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── a.txt │ │ │ │ ├── b.txt │ │ │ │ ├── c.txt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ ├── a.txt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── pre_build.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── a.txt │ │ │ │ ├── b.txt │ │ │ │ ├── c.txt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── pre_build_dirty.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── a.txt │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── prebuild │ │ │ ├── mod.rs │ │ │ └── moonlex │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── fortytwolexer.mbl │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── prebuild_config_script │ │ │ ├── js │ │ │ │ ├── build.js │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ │ ├── dep │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── stub.c │ │ │ │ │ └── main │ │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── py │ │ │ │ ├── build.py │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ ├── dep │ │ │ │ ├── moon.pkg.json │ │ │ │ └── stub.c │ │ │ │ └── main │ │ │ │ └── moon.pkg.json │ │ ├── query_symbol.in │ │ │ ├── empty │ │ │ │ └── a.txt │ │ │ └── proj │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── proj.mbt │ │ │ │ └── proj_test.mbt │ │ ├── query_symbol │ │ │ └── mod.rs │ │ ├── run_doc_test.in │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── greet.mbt │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── run_doc_test │ │ │ └── mod.rs │ │ ├── run_md_test.in │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── 1.mbt.md │ │ │ │ ├── 2.mbt.md │ │ │ │ ├── README.md │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── run_md_test │ │ │ └── mod.rs │ │ ├── run_single_mbt_file.in │ │ │ └── a │ │ │ │ └── b │ │ │ │ ├── c │ │ │ │ └── .gitkeep │ │ │ │ └── single.mbt │ │ ├── run_single_mbt_file_inside_pkg.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── main_in_lib │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── self-pkg-in-test-import.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib3 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── simple_pkg │ │ │ ├── A-001 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── A-002 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── A-003 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── A-004 │ │ │ │ ├── lib │ │ │ │ │ └── A │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── A-005 │ │ │ │ ├── lib │ │ │ │ │ └── A │ │ │ │ │ │ ├── lib.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── A-006 │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── AB-001 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── AB-002 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── AB-003 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── AB-004 │ │ │ │ ├── A │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── B │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── mod.rs │ │ ├── snapshot_testing.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── snapshot_testing │ │ │ └── mod.rs │ │ ├── specify_source_dir_001.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── specify_source_dir_001 │ │ │ ├── build_graph.jsonl.snap │ │ │ ├── check_graph.jsonl.snap │ │ │ ├── mod.rs │ │ │ └── test_graph.jsonl.snap │ │ ├── specify_source_dir_002.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── specify_source_dir_002 │ │ │ └── mod.rs │ │ ├── specify_source_dir_003_empty_string.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── specify_source_dir_004.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── nes │ │ │ │ └── t │ │ │ │ └── ed │ │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── specify_source_dir_005_bad.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── specify_source_dir_with_deps_001.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── anyhow │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ ├── check_graph.jsonl.snap │ │ │ ├── deps │ │ │ │ └── hello19 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ └── source │ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── top.mbt │ │ │ │ │ └── top_test.mbt │ │ │ ├── moon.mod.json │ │ │ └── test_graph.jsonl.snap │ │ ├── specify_source_dir_with_deps_002.in │ │ │ ├── .gitignore │ │ │ ├── anyhow │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── deps │ │ │ │ ├── hello001 │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ └── source001 │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── hello.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ │ ├── top.mbt │ │ │ │ │ │ └── top_test.mbt │ │ │ │ ├── hello002 │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── hello.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── top.mbt │ │ │ │ │ └── top_test.mbt │ │ │ │ ├── hello003 │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ └── source003 │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── hello.mbt │ │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ │ ├── top.mbt │ │ │ │ │ │ └── top_test.mbt │ │ │ │ └── hello004 │ │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── moon.mod.json │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── top.mbt │ │ │ │ │ └── top_test.mbt │ │ │ └── moon.mod.json │ │ ├── strip_debug.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── supported_backends_in_pkg_json │ │ │ ├── pkg1.in │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── pkg2.in │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── pkg3.in │ │ │ │ ├── lib │ │ │ │ ├── _wbtest.mbt │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ ├── _wbtest.mbt │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ ├── _wbtest.mbt │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib5 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib6 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib7 │ │ │ │ ├── _wbtest.mbt │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── target_backend │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── targets │ │ │ ├── auto_update │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── x.js.mbt │ │ │ │ │ ├── x.native.mbt │ │ │ │ │ ├── x.wasm-gc.mbt │ │ │ │ │ └── x.wasm.mbt │ │ │ │ └── moon.mod.json │ │ │ ├── expect_failed │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ ├── x.js.mbt │ │ │ │ │ ├── x.native.mbt │ │ │ │ │ ├── x.wasm-gc.mbt │ │ │ │ │ └── x.wasm.mbt │ │ │ │ └── moon.mod.json │ │ │ ├── many_targets │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── link │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── many_targets_build_js_wasm.jsonl.snap │ │ │ ├── many_targets_bundle_js_wasm.jsonl.snap │ │ │ ├── many_targets_check_js_wasm.jsonl.snap │ │ │ ├── many_targets_test_all.jsonl.snap │ │ │ ├── many_targets_test_js_wasm.jsonl.snap │ │ │ ├── many_targets_test_js_wasm_all.jsonl.snap │ │ │ ├── many_targets_test_js_wasm_filtered.jsonl.snap │ │ │ └── mod.rs │ │ ├── test_check_filter.in │ │ │ ├── A │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── test.mbt │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib2 │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── test_coverage.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── test_dot_source.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── moon.test │ │ ├── test_dot_source │ │ │ └── mod.rs │ │ ├── test_driver_dependencies │ │ │ ├── bench_with_args.mbt │ │ │ ├── mod.rs │ │ │ ├── no_args_and_bench.mbt │ │ │ ├── test_no_args.mbt │ │ │ └── test_with_args.mbt │ │ ├── test_error_report │ │ │ ├── .gitignore │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ └── moon.mod.json │ │ ├── test_exclude_001.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── a │ │ │ │ └── a.txt │ │ │ │ └── b │ │ │ │ └── b.txt │ │ ├── test_exclude_001 │ │ │ └── mod.rs │ │ ├── test_exclude_002.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── a │ │ │ │ └── a.txt │ │ │ │ ├── b │ │ │ │ └── b.txt │ │ │ │ └── c │ │ │ │ └── c.md │ │ ├── test_exclude_002 │ │ │ └── mod.rs │ │ ├── test_expect_test │ │ │ ├── diff_format.rs │ │ │ ├── diff_format.snap │ │ │ ├── expect_test │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ ├── issue_188_wbtest.mbt │ │ │ │ │ ├── issue_209.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── expect_test_diff_format │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── mod.rs │ │ │ └── only_update_expect │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── test_expect_with_escape.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ └── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_expect_with_multiline_string_content.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ └── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_filter │ │ │ ├── include_skip_test.rs │ │ │ ├── mod.rs │ │ │ ├── pkg_with_deps │ │ │ │ ├── lib │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── pkg_with_test_imports │ │ │ │ ├── lib │ │ │ │ │ ├── _wbtest.mbt │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ │ ├── _wbtest.mbt │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib4 │ │ │ │ │ ├── _wbtest.mbt │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib5 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib6 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib7 │ │ │ │ │ ├── _wbtest.mbt │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ └── test_moon_test_filter_package_with_test_imports.drawio.png │ │ │ ├── single_test_skip.rs │ │ │ ├── skip_test.rs │ │ │ ├── skip_test │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── test_filter │ │ │ │ ├── A │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── test.mbt │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── lib.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── test_filter_dry_run_filter_a.jsonl.snap │ │ │ └── test_filter_dry_run_no_filter.jsonl.snap │ │ ├── test_import │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── a │ │ │ │ ├── a.mbt │ │ │ │ ├── a_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── b │ │ │ │ ├── b.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── c │ │ │ │ ├── c.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ ├── s │ │ │ │ ├── moon.pkg.json │ │ │ │ └── t.mbt │ │ │ └── t │ │ │ │ ├── moon.pkg.json │ │ │ │ └── t.mbt │ │ ├── test_in_main_pkg.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── 1_test.mbt │ │ │ │ ├── 1_wbtest.mbt │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── 1_test.mbt │ │ │ │ ├── 1_wbtest.mbt │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── test_include_001.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── a │ │ │ │ └── a.txt │ │ │ │ ├── b │ │ │ │ └── b.txt │ │ │ │ └── c │ │ │ │ └── c.md │ │ ├── test_include_001 │ │ │ └── mod.rs │ │ ├── test_include_002.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── a │ │ │ │ └── a.txt │ │ │ │ ├── b │ │ │ │ └── b.txt │ │ │ │ └── c │ │ │ │ └── c.md │ │ ├── test_include_002 │ │ │ └── mod.rs │ │ ├── test_include_003.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ ├── moon.test │ │ │ ├── src │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── a │ │ │ │ └── a.txt │ │ │ │ ├── b │ │ │ │ └── b.txt │ │ │ │ └── c │ │ │ │ └── c.md │ │ ├── test_include_003 │ │ │ └── mod.rs │ │ ├── test_moon_info.in │ │ │ ├── lib │ │ │ │ ├── lib.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ └── moon.test │ │ ├── test_moon_info │ │ │ └── mod.rs │ │ ├── test_moonbitlang_x │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ ├── moonbitlang_x_build_dry_run.jsonl.snap │ │ │ ├── moonbitlang_x_test_dry_run.jsonl.snap │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_multi_process │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── test_postadd_script.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_publish.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_release │ │ │ ├── dry_run_graph.jsonl.snap │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ └── release_dry_run_graph.jsonl.snap │ │ ├── test_sub_package.in │ │ │ ├── dep │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── dep2 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ ├── sub_pkg │ │ │ │ ├── 111.mbt │ │ │ │ ├── dir │ │ │ │ │ └── 222.mbt │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── test │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ ├── test_with_failure_json │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── moon.mod.json │ │ │ └── src │ │ │ │ ├── lib1 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── third_party │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib1 │ │ │ │ ├── moon.pkg.json │ │ │ │ └── test.mbt │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── mod.rs │ │ │ ├── moon.mod.json │ │ │ └── third_party_dry_run.jsonl │ │ ├── tracing_value.in │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main.mbt │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── tracing_value_for_test_block.in │ │ │ ├── lib1 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main.mbt │ │ │ └── moon.mod.json │ │ ├── validate_import.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ └── moon.mod.json │ │ ├── value_tracing │ │ │ ├── mod.rs │ │ │ ├── run_graph.jsonl.snap │ │ │ └── test_graph.jsonl.snap │ │ ├── virtual_pkg.in │ │ │ ├── err │ │ │ │ ├── .gitignore │ │ │ │ ├── lib1 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── pkg.mbti │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── user │ │ │ │ ├── .gitignore │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ ├── hello_test.mbt │ │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ └── myabort │ │ │ │ │ ├── abort.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ └── virtual │ │ │ │ ├── .gitignore │ │ │ │ ├── deep │ │ │ │ └── lib │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── pkg.mbti │ │ │ │ ├── dummy_lib │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.mbti │ │ │ │ ├── lib2 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib3 │ │ │ │ ├── hello.mbt │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.mbti │ │ │ │ ├── lib4 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib5 │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.mbti │ │ ├── virtual_pkg │ │ │ └── mod.rs │ │ ├── virtual_pkg2.in │ │ │ └── p │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ ├── p.mbt │ │ │ │ └── v │ │ │ │ ├── moon.mod.json │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.mbti │ │ ├── virtual_pkg2 │ │ │ ├── build_graph.jsonl │ │ │ ├── check_graph.jsonl │ │ │ └── mod.rs │ │ ├── virtual_pkg_dep │ │ │ ├── indirect_depend_virtual │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ │ ├── impl │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── p.mbt │ │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ │ ├── middle │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── p.mbt │ │ │ │ │ └── virtual │ │ │ │ │ ├── moon.pkg.json │ │ │ │ │ └── pkg.mbti │ │ │ └── mod.rs │ │ ├── virtual_pkg_test │ │ │ ├── mod.rs │ │ │ └── virtual_with_transitive_dep │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── moon.mod.json │ │ │ │ └── src │ │ │ │ ├── dep │ │ │ │ ├── dep.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── impl │ │ │ │ ├── moon.pkg.json │ │ │ │ └── p.mbt │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── middle │ │ │ │ ├── moon.pkg.json │ │ │ │ └── p.mbt │ │ │ │ └── virtual │ │ │ │ ├── moon.pkg.json │ │ │ │ └── pkg.mbti │ │ ├── warns │ │ │ ├── alert_list │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib2 │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── deny_warn │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ ├── mod.rs │ │ │ ├── mod_level │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── hello.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ │ ├── main.mbt │ │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ │ └── warn_list │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_test.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── lib1 │ │ │ │ ├── hello.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ ├── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ │ └── moon.mod.json │ │ ├── whitespace_test.in │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── build_debug_graph.jsonl.snap │ │ │ ├── build_graph.jsonl.snap │ │ │ ├── build_wasm_gc_debug_graph.jsonl.snap │ │ │ ├── build_wasm_gc_graph.jsonl.snap │ │ │ ├── main exe │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── main lib │ │ │ │ ├── hello.mbt │ │ │ │ ├── hello_wbtest.mbt │ │ │ │ └── moon.pkg.json │ │ │ ├── moon.mod.json │ │ │ ├── parent_space_build_graph.jsonl.snap │ │ │ ├── run_debug_graph.jsonl.snap │ │ │ ├── run_graph.jsonl.snap │ │ │ ├── run_wasm_gc_debug_graph.jsonl.snap │ │ │ └── run_wasm_gc_graph.jsonl.snap │ │ └── whitespace_test │ │ │ └── mod.rs │ │ └── util.rs ├── moonbuild-debug │ ├── .gitignore │ ├── Cargo.toml │ ├── readme.md │ └── src │ │ ├── graph.rs │ │ └── lib.rs ├── moonbuild-rupes-recta │ ├── Cargo.toml │ ├── clippy.toml │ └── src │ │ ├── all_pkgs.rs │ │ ├── build_lower │ │ ├── artifact.rs │ │ ├── compiler │ │ │ ├── build_common.rs │ │ │ ├── build_interface.rs │ │ │ ├── build_package.rs │ │ │ ├── bundle_core.rs │ │ │ ├── check.rs │ │ │ ├── gen_test_driver.rs │ │ │ ├── link_core.rs │ │ │ ├── mod.rs │ │ │ ├── moondoc.rs │ │ │ └── mooninfo.rs │ │ ├── context.rs │ │ ├── lower_aux.rs │ │ ├── lower_build.rs │ │ ├── mod.rs │ │ └── utils.rs │ │ ├── build_plan │ │ ├── builders.rs │ │ ├── constructor.rs │ │ └── mod.rs │ │ ├── compile │ │ └── mod.rs │ │ ├── cond_comp.rs │ │ ├── discover │ │ ├── mod.rs │ │ ├── model.rs │ │ ├── special_case.rs │ │ └── synth.rs │ │ ├── fmt.rs │ │ ├── intent.rs │ │ ├── lib.rs │ │ ├── metadata.rs │ │ ├── model.rs │ │ ├── pkg_name.rs │ │ ├── pkg_solve │ │ ├── mod.rs │ │ ├── model.rs │ │ ├── solve.rs │ │ └── verify.rs │ │ ├── prebuild.rs │ │ ├── resolve │ │ └── mod.rs │ │ ├── special_cases.rs │ │ └── util.rs ├── moonbuild │ ├── Cargo.toml │ ├── src │ │ ├── bench.rs │ │ ├── benchmark.rs │ │ ├── build.rs │ │ ├── build_script.rs │ │ ├── bundle.rs │ │ ├── check │ │ │ ├── mod.rs │ │ │ └── normal.rs │ │ ├── doc_http.rs │ │ ├── dry_run.rs │ │ ├── entry.rs │ │ ├── expect.rs │ │ ├── fmt.rs │ │ ├── gen │ │ │ ├── cmd_builder.rs │ │ │ ├── gen_build.rs │ │ │ ├── gen_bundle.rs │ │ │ ├── gen_check.rs │ │ │ ├── gen_runtest.rs │ │ │ ├── mod.rs │ │ │ ├── n2_errors.rs │ │ │ └── util.rs │ │ ├── lib.rs │ │ ├── new.rs │ │ ├── pre_build.rs │ │ ├── runtest.rs │ │ ├── section_capture.rs │ │ ├── test_utils.rs │ │ └── upgrade.rs │ └── template │ │ ├── README.md │ │ ├── apache-2.0.txt │ │ ├── mod.schema.json │ │ ├── mod_json_schema.html │ │ ├── moon_bin_script_template │ │ ├── unix.sh │ │ └── windows.ps1 │ │ ├── moon_new_template.toml │ │ ├── moon_new_template │ │ ├── .githooks │ │ │ ├── README.md │ │ │ └── pre-commit │ │ ├── .github │ │ │ └── workflows │ │ │ │ └── copilot-setup-steps.yml │ │ ├── .gitignore │ │ ├── Agents.md │ │ ├── LICENSE │ │ ├── README.mbt.md │ │ ├── README.md │ │ ├── cmd │ │ │ └── main │ │ │ │ ├── main.mbt │ │ │ │ └── moon.pkg.json │ │ ├── moon.mod.json │ │ ├── moon.pkg.json │ │ ├── {{package}}.mbt │ │ └── {{package}}_test.mbt │ │ ├── pkg.schema.json │ │ ├── pkg_json_schema.html │ │ └── test_driver │ │ ├── async.mbt │ │ ├── bench_driver_template.mbt │ │ ├── common.mbt │ │ ├── js_driver.js │ │ ├── no_args_template.mbt │ │ ├── no_async.mbt │ │ ├── test_driver_template.mbt │ │ └── with_args_template.mbt ├── mooncake │ ├── Cargo.toml │ └── src │ │ ├── dep_dir.rs │ │ ├── lib.rs │ │ ├── pkg │ │ ├── add.rs │ │ ├── install.rs │ │ ├── mod.rs │ │ ├── remove.rs │ │ ├── sync.rs │ │ └── tree.rs │ │ ├── registry.rs │ │ ├── registry │ │ ├── mock.rs │ │ └── online.rs │ │ ├── resolver.rs │ │ ├── resolver │ │ ├── env.rs │ │ └── mvs.rs │ │ └── update.rs ├── moonrun │ ├── Cargo.lock │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── docs │ │ └── dev │ │ │ └── README.md │ ├── src │ │ ├── fs_api_temp.rs │ │ ├── js.rs │ │ ├── main.rs │ │ ├── sys_api.rs │ │ ├── template │ │ │ └── js_glue.js │ │ └── util.rs │ └── tests │ │ ├── test.rs │ │ └── test_cases │ │ ├── test_cli_args.in │ │ ├── .gitignore │ │ ├── README.md │ │ ├── main │ │ │ ├── main.mbt │ │ │ └── moon.pkg.json │ │ └── moon.mod.json │ │ ├── test_fmt_skip_prebuild_output │ │ ├── README.md │ │ ├── main │ │ │ ├── generated.mbt │ │ │ ├── main.mbt │ │ │ └── moon.pkg.json │ │ └── moon.mod.json │ │ ├── test_os_platform_detection │ │ ├── main │ │ │ ├── main.mbt │ │ │ └── moon.pkg.json │ │ └── moon.mod.json │ │ ├── test_read_bytes.in │ │ ├── .gitignore │ │ ├── README.md │ │ ├── main │ │ │ ├── main.mbt │ │ │ └── moon.pkg.json │ │ └── moon.mod.json │ │ └── test_stack_trace.in │ │ ├── .gitignore │ │ ├── README.md │ │ ├── main │ │ ├── main.mbt │ │ └── moon.pkg.json │ │ └── moon.mod.json └── moonutil │ ├── Cargo.toml │ ├── build.rs │ └── src │ ├── binaries.rs │ ├── build_script.rs │ ├── cli.rs │ ├── common.rs │ ├── compiler_flags.rs │ ├── cond_expr.rs │ ├── dependency.rs │ ├── dirs.rs │ ├── doc_test.rs │ ├── error_code_docs.rs │ ├── features.rs │ ├── fuzzy_match.rs │ ├── git.rs │ ├── graph.rs │ ├── lib.rs │ ├── module.rs │ ├── moon_dir.rs │ ├── mooncakes.rs │ ├── package.rs │ ├── path.rs │ ├── platform.rs │ ├── render.rs │ ├── scan.rs │ ├── shlex.rs │ ├── shlex │ └── tests.rs │ └── version.rs ├── docs ├── dev │ ├── README.md │ └── reference │ │ ├── arch.md │ │ ├── binaries.md │ │ ├── build.md │ │ ├── bundle.md │ │ ├── compiler-cmd-ref.md │ │ ├── cond-comp.md │ │ ├── debugging.md │ │ ├── dry-run.md │ │ ├── indirect-dep.md │ │ ├── modules-packages.md │ │ ├── prebuild.md │ │ ├── readme.md │ │ ├── rr-special-cases.md │ │ ├── tcc-run.md │ │ ├── tests.md │ │ └── virtual-pkg.md ├── manual-zh │ ├── .gitignore │ ├── book.toml │ └── src │ │ ├── SUMMARY.md │ │ ├── commands.md │ │ ├── index.md │ │ ├── json_schema.md │ │ └── source │ │ ├── mod_json_schema.html │ │ └── pkg_json_schema.html └── manual │ ├── .gitignore │ ├── book.toml │ └── src │ ├── SUMMARY.md │ ├── commands.md │ ├── index.md │ ├── json_schema.md │ └── source │ ├── mod_json_schema.html │ └── pkg_json_schema.html ├── licenserc.toml └── xtask ├── Cargo.toml ├── README.md ├── rr_expected_failures.txt ├── rr_wont_fix.txt └── src ├── bundle_template.rs ├── cmdtest ├── exec.rs ├── mod.rs ├── moon.test ├── parse.rs └── run.rs ├── main.rs ├── sync_docs.rs └── test_rr_parity.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.github/workflows/cd.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/manual.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.github/workflows/manual.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.gitmodules -------------------------------------------------------------------------------- /.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/.justfile -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/AGENTS.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/README.md -------------------------------------------------------------------------------- /_typos.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/_typos.toml -------------------------------------------------------------------------------- /changes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/changes.md -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/clippy.toml -------------------------------------------------------------------------------- /crates/moon/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/Cargo.toml -------------------------------------------------------------------------------- /crates/moon/src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/bench.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/build.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/build_matrix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/build_matrix.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/bundle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/bundle.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/check.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/check.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/clean.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/clean.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/coverage.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/coverage.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/deps.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/deps.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/doc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/doc.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/external.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/external.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/fmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/fmt.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/info.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/info/imp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/info/imp.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/new.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/new.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/pre_build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/pre_build.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/query.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/run.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/test.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/tool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/tool.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/tool/embed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/tool/embed.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/update.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/update.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/upgrade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/upgrade.rs -------------------------------------------------------------------------------- /crates/moon/src/cli/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/cli/version.rs -------------------------------------------------------------------------------- /crates/moon/src/filter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/filter.rs -------------------------------------------------------------------------------- /crates/moon/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/main.rs -------------------------------------------------------------------------------- /crates/moon/src/panic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/panic.rs -------------------------------------------------------------------------------- /crates/moon/src/rr_build/dry_run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/rr_build/dry_run.rs -------------------------------------------------------------------------------- /crates/moon/src/rr_build/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/rr_build/mod.rs -------------------------------------------------------------------------------- /crates/moon/src/run/child.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/run/child.rs -------------------------------------------------------------------------------- /crates/moon/src/run/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/run/mod.rs -------------------------------------------------------------------------------- /crates/moon/src/run/runtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/run/runtest.rs -------------------------------------------------------------------------------- /crates/moon/src/run/runtest/filter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/run/runtest/filter.rs -------------------------------------------------------------------------------- /crates/moon/src/run/runtime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/run/runtime.rs -------------------------------------------------------------------------------- /crates/moon/src/watch/filter_files.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/watch/filter_files.rs -------------------------------------------------------------------------------- /crates/moon/src/watch/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/src/watch/mod.rs -------------------------------------------------------------------------------- /crates/moon/tests/build_graph/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/tests/build_graph/mod.rs -------------------------------------------------------------------------------- /crates/moon/tests/dry_run_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/tests/dry_run_utils.rs -------------------------------------------------------------------------------- /crates/moon/tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/tests/mod.rs -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/all_kind_test.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/all_kind_test.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/ambiguous_pkg.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/ambiguous_pkg.in/deps/ambiguous/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/ambiguous_pkg.in/deps/ambiguous/src/ambiguous/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/ambiguous_pkg.in/src/is/ambiguous/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/ambiguous_pkg.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/flag/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/flag/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/flag/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/flag/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/flag/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/lib0/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/lib1/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/lib2/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend/js_format/lib3/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend_config/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend_config/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backend_config/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backtrace.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backtrace.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/backtrace.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2.in/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2_test.in/dir_0_0/m_0_0_0_0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2_test.in/dir_0_0/m_0_0_0_1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2_test.in/dir_0_1/m_0_1_0_0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2_test.in/dir_0_1/m_0_1_0_1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/bench2_test.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "build_matrix" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_failed_test.in/B/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_failed_test.in/C/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_failed_test.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_success_test.in/B/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_success_test.in/C/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_success_test.in/D/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_success_test.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_test_core_override.in/builtin/main_test.mbt: -------------------------------------------------------------------------------- 1 | test "dummy2" { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_test_core_override.in/builtin/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_test_core_override.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbitlang/core" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_test_core_override.in/prelude/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/blackbox_test_dedup_alias.in/dir/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cakenew_test.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cakenew_test.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cakenew_test.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cakenew_test.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/capture_abort_test.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/capture_abort_test.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/capture_abort_test.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "capture" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/check_failed_should_write_pkg_json.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/check_failed_should_write_pkg_json.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/check_failed_should_write_pkg_json.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/circle_pkg_ab_001_test/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/all_wasm.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/js_and_release.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 2 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/js_only_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/js_or_wasm.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/native_and_wasm.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/native_only.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/not_js.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/only_debug.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 1 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/only_wasm.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/only_wasm_gc.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/lib/wasm_release_or_js_debug.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp_errors.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp_errors.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp_errors.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/cond_comp_errors.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/debug_flag_test/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/debug_flag_test/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/debug_flag_test/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dep_order/dep_order/a/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": ["username/scratch9/b"] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dep_order/dep_order/b/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dep_order/dep_order/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/design/lib/list/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/design/lib/vec/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/design/lib/vec/vec.mbt: -------------------------------------------------------------------------------- 1 | fn init { 2 | () 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/design/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbit/design" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diag_loc_map.in/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/001/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/001/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/001/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/A/A2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/B/B2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/C/C2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/002/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/A/A2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/B/B2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C0/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C1/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C2/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("C2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/C/C2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diamond_pkg/003/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "h/e/l/l/o" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/1.js.mbt: -------------------------------------------------------------------------------- 1 | pub fn a() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/1.native.mbt: -------------------------------------------------------------------------------- 1 | pub fn aaa() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/1.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | pub fn aaa() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/1.wasm.mbt: -------------------------------------------------------------------------------- 1 | pub fn aaa() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/diff_mbti.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/avl_tree/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/avl_tree/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "avl_tree" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/docstring_demo/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/docstring_demo/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/docstring_demo/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "docstring-demo" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/multidimensional_arrays/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/palindrome_string/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/palindrome_string/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "palindrome_string" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/docs_examples/unicode_demo/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unicode_demo" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dont_link_third_party.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("Hello, world!") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dont_link_third_party.in/third_party/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/lib.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "link": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y.js.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y.wasm.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y_wbtest.js.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y_wbtest.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y_wbtest.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/0/y_wbtest.wasm.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/lib.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "link": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/x.js.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/x.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/x.wasm.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/1/x_wbtest.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/2/lib.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/coverage/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbitlang/core" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/dummy_core/prelude/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/export_memory.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/export_memory.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/export_memory.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/export_memory.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/export_memory.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/extra_flags/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/extra_flags/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/extra_flags/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import001/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import001/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import001/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import001/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import002/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import002/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": [] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import002/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import003/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import003/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import003/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import003/lib2/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello2() -> String { 2 | "Hello, world2!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import003/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> String { 2 | "f1" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib2/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> String { 2 | "f2" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib3/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> String { 2 | "f3" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib3/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib4/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> String { 2 | "f4" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fancy_import/import004/lib4/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/filter_by_path/snapshots/build_A_lib.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/filter_by_path/snapshots/check_A_lib.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { "Hello, world!" } 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { println(@lib.hello()) } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt_ignore/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt_ignore/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt_ignore/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { "Hello, world!" } 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fmt_ignore/lib/hello_ignore.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello_ignore() -> String { "Hello, world!" } 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/lib.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x inline test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/x_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x blackbox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/x_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x whitebox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/y/lib.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x_y inline test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/y/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/y/x_y_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x_y blackbox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/x/y/x_y_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("x_y whitebox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/y/lib.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("y inline test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/y/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/y/y_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("y blackbox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/fuzzy_matching.in/src/y/y_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | println("y whitebox test") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/general.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/general.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/general.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/general.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/general.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/hello/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_memory.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_memory.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_memory.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_memory.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_memory.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_shared_memory.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_shared_memory.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_shared_memory.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_shared_memory.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/import_shared_memory.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep1/lib1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep1/sub/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": ["username/sub/p"] 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep1/sub/p/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep2/lib1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep2/sub/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": ["username/sub/p"] 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/indirect_dep.in/indirect_dep2/sub/p/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/lib/hello_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/001/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/002/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/002/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/002/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/002/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/002/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/lib/hello_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | fail("some msg") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/003/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/004/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/004/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/004/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/004/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/order/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/order/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/order/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/inline_test/order/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("main.mbt::init") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib/a/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn g() -> String { 2 | "" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib/internal/b/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn g() -> String { 2 | "" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib/internal/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn g() -> String { 2 | "" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib/internal/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/lib2/lib.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/internal_package.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/mbti/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | 4 | **/*.mbti 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/mbti/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/mbti/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/mbti/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/tests/test_cases/mod.rs -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bench/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bench/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bench/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bench/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbench" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_build_package.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_build_package.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_build_package.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_build_package.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_build_package.in/src/top.mbt: -------------------------------------------------------------------------------- 1 | pub fn greeting() -> Unit { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/Orphan/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("Orphan") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/Orphan/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbitlang/core" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_bundle/prelude/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_commands/lib/list/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_commands/lib/vec/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_commands/main1/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_commands/main2/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("main2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_commands/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "design" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_doc.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_doc.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_doc.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_doc.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_doc.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_001.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_001.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_001.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_001.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_001.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_002.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_002.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_002.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_002.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_compare_backends/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_compare_backends/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_info_compare_backends/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author1.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author1.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author1.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author2.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author2.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/author2.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/user.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/user.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_install_bin.in/user.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/exist/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/new/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/plain/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/plain/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/plain/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/plain/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new/snapshot/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new_and_watch/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new_and_watch/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new_and_watch/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_new_and_watch/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_run_with_cli_args.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_run_with_cli_args.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/async_test/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "test-import": [ "moonbitlang/async" ] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/async_test_inline/inline_test_file.mbt: -------------------------------------------------------------------------------- 1 | async test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/async_test_inline/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": ["moonbitlang/async"] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/doctest_without_bbtest/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/doctest_without_bbtest/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moontest" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/dummy_async_impl/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec_fntest/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_exec_fntest/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_lib/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_lib/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_lib/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/hello_lib/top.mbt: -------------------------------------------------------------------------------- 1 | pub fn greeting() -> Unit { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/name_conflict/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/no_entry_warning/main/main.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | fn main { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/no_entry_warning/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/patch/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/patch/lib2/1.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/patch/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/patch/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/patch/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib3/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib3/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib4/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib4/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/lib5/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/plain/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moontest" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib3/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib3/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib4/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/lib4/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/succ/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moontest" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_cfg/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_cfg/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moontest" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_local_deps/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mooncakes/ -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_local_deps/lib/hello_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_local_deps/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_local_deps/mods/lijunchen/mooncake/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test/with_local_deps/mods/lijunchen/mooncake2/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test_single_file.in/.gitignore: -------------------------------------------------------------------------------- 1 | .mooncakes 2 | 1.txt 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test_target_js_panic_with_sourcemap.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/moon_test_target_js_panic_with_sourcemap.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/build_native_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/build_wasm_gc_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/lib/stub.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/run_native_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/run_wasm_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/test_native_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/cc_flags/test_wasm_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/parallel_msvc/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/parallel_msvc/template/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/tcc_run/lib/stub.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/tcc_run/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/tcc_run/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/tcc_run/test_native_macos_graph.jsonl.snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/test_filter/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_backend/test_filter/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_exports.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_exports.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_exports.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_exports.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_exports.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_stub.in/native_1.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | @lib.say_hello_1() 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_stub.in/native_2.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | @libb.say_hello_2() 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/native_stub.in/native_3.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | @libbb.say_hello_3() 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/need_link.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/need_link.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/need_link.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/need_link.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "link": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/need_link.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_block_params.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_block_params.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_block_params.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_block_params.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_block_params.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_export_when_test.in/src.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | pub fn f() -> Int = "aaa" "bbb" 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_export_when_test.in/src_test.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | test { 3 | assert_eq(1, 1) 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_main_just_init.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "link": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_main_just_init.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "just_init" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_warn_deps.in/deps.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_warn_deps.in/deps.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_warn_deps.in/user.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/no_warn_deps.in/user.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/nonexistent_package.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/nonexistent_package.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/nonexistent_package.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": [] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/nonexistent_package.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/nonexistent_package.in/pkg/transient/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": [] 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/output_format/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/output_format/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/output_format/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/output_format/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/core_order/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/core_order/T/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/empty_name/src/main.mbt: -------------------------------------------------------------------------------- 1 | fn main {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/error_duplicate_alias/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/error_duplicate_alias/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/error_duplicate_alias/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/packages/error_duplicate_alias/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/panic.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/panic.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/panic.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/panic.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/panic.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/lib/a.txt: -------------------------------------------------------------------------------- 1 | hello, 2 | world 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/lib/c.txt: -------------------------------------------------------------------------------- 1 | hello, 2 | world 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/lib2/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/lib2/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/post_build.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build.in/src/lib/a.txt: -------------------------------------------------------------------------------- 1 | hello, 2 | world 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build.in/src/lib/c.txt: -------------------------------------------------------------------------------- 1 | hello, 2 | world 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build_dirty.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | /src/lib/a.mbt 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build_dirty.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build_dirty.in/src/lib/a.txt: -------------------------------------------------------------------------------- 1 | fn init {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/pre_build_dirty.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/prebuild/moonlex/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | src/main/fortytwolexer.mbt 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/prebuild/moonlex/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/prebuild/moonlex/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | () 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/prebuild_config_script/js/src/dep/stub.c: -------------------------------------------------------------------------------- 1 | int foo() { return 42; } 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/prebuild_config_script/py/src/dep/stub.c: -------------------------------------------------------------------------------- 1 | int foo() { return 42; } 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/query_symbol.in/empty/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/query_symbol.in/proj/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_doc_test.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_doc_test.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_doc_test.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | fn main { 3 | println(@lib.hello()) 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_md_test.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_md_test.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | fn main { 3 | println(@lib.hello1()) 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_single_mbt_file.in/a/b/c/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_single_mbt_file.in/a/b/single.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("I am OK") 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/run_single_mbt_file_inside_pkg.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/self-pkg-in-test-import.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-001/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-001/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-001/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-002/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-002/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-002/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-003/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-003/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-003/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-004/lib/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-004/lib/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-004/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-005/lib/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-005/lib/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-005/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-006/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("main") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-006/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/A-006/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-001/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-001/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-001/B/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-001/B/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-001/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-002/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-002/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-002/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-003/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-003/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-003/B/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("B") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-003/B/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-003/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-004/A/lib.mbt: -------------------------------------------------------------------------------- 1 | pub fn f() -> Unit { 2 | println("A") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-004/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/simple_pkg/AB-004/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/snapshot_testing.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/snapshot_testing.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/snapshot_testing.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/snapshot_testing.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_001.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_001.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_001.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_001.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_002.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_002.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_002.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_002.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_003_empty_string.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_003_empty_string.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_004.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_004.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_004.in/nes/t/ed/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_005_bad.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_005_bad.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_005_bad.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("...") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/anyhow/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/deps/hello19/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/deps/hello19/source/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/deps/hello19/source/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_001.in/deps/hello19/source/top_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello001/source001/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello001/source001/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello001/source001/top_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello002/top_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello003/source003/top_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/specify_source_dir_with_deps_002.in/deps/hello004/top_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/strip_debug.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/strip_debug.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/strip_debug.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/supported_backends_in_pkg_json/pkg3.in/lib5/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/supported_backends_in_pkg_json/pkg3.in/lib6/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/target_backend/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/target_backend/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/target_backend/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/target_backend/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/lib/x.js.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("js") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/lib/x.native.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("native") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/lib/x.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("wasm-gc") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/auto_update/lib/x.wasm.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("wasm") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/lib/x.js.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("js", content="2") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/lib/x.native.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("native", content="3") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/lib/x.wasm-gc.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("wasm-gc", content="1") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/expect_failed/lib/x.wasm.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | inspect("wasm", content="0") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/many_targets/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/many_targets/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/targets/many_targets/link/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "link": true 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_check_filter.in/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_check_filter.in/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_check_filter.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_coverage.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_coverage.in/lib2/hello_test.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_coverage.in/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_coverage.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("main") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_dot_source.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_dot_source.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_dot_source.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_dot_source.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_dot_source.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_driver_dependencies/test_no_args.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | test { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_error_report/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_error_report/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_error_report/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_error_report/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/test/a/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_001.in/test/b/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/test/a/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/test/b/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_exclude_002.in/test/c/c.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/expect_test/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/expect_test/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/expect_test/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/expect_test/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/expect_test_diff_format/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/only_update_expect/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/only_update_expect/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/only_update_expect/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | abort("") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/only_update_expect/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_test/only_update_expect/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println("main") 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_with_escape.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_with_escape.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_with_escape.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_with_multiline_string_content.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_expect_with_multiline_string_content.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/pkg_with_deps/lib4/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/pkg_with_deps/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/pkg_with_test_imports/lib5/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/pkg_with_test_imports/lib6/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/skip_test/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/test_filter/A/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/test_filter/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/test_filter/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_filter/test_filter/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/a/a_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test "a_test_imported_t" { 2 | println(@t.t()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/b/b.mbt: -------------------------------------------------------------------------------- 1 | pub fn b() -> String { 2 | "b" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/c/c.mbt: -------------------------------------------------------------------------------- 1 | pub fn c() -> String { 2 | "c" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/s/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/s/t.mbt: -------------------------------------------------------------------------------- 1 | pub fn s() -> String { 2 | "s" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/t/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_import/t/t.mbt: -------------------------------------------------------------------------------- 1 | pub fn t() -> String { 2 | "t" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_in_main_pkg.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_in_main_pkg.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_in_main_pkg.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/test/a/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/test/b/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_001.in/test/c/c.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/test/a/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/test/b/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_002.in/test/c/c.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/test/a/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/test/b/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_include_003.in/test/c/c.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_moon_info.in/lib/lib.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_moon_info.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_moon_info.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moonbitlang/hhh" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_moonbitlang_x/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_moonbitlang_x/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_multi_process/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_multi_process/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_multi_process/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_multi_process/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | let a = 0 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_postadd_script.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_postadd_script.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_postadd_script.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_postadd_script.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_publish.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_publish.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_publish.in/src/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_publish.in/src/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_publish.in/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_release/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_release/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/dep/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/sub_pkg/111.mbt: -------------------------------------------------------------------------------- 1 | pub struct A { 2 | a : Int 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/sub_pkg/dir/222.mbt: -------------------------------------------------------------------------------- 1 | pub struct B { 2 | b : String 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/test/hello_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | @sub_pkg.func() 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_sub_package.in/test/hello_wbtest.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | @sub_pkg.func() 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_with_failure_json/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_with_failure_json/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_with_failure_json/src/lib1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/test_with_failure_json/src/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib1.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/third_party/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/third_party/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/third_party/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/tracing_value.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/tracing_value.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/tracing_value.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/tracing_value_for_test_block.in/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": {} 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/tracing_value_for_test_block.in/moon.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "moon_new" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/validate_import.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/validate_import.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/validate_import.in/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> String { 2 | "Hello, world!" 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/validate_import.in/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/validate_import.in/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/err/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/err/lib2/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "implement": "username/hello/lib1" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/user/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/user/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "implement": "username/hello/lib1" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/user/myabort/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "implement": "moonbitlang/core/abort" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/virtual/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/virtual/dummy_lib/hello.mbt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/virtual/dummy_lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/virtual/lib4/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "implement": "username/hello/lib3" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg.in/virtual/pkg.mbti: -------------------------------------------------------------------------------- 1 | package "username/hello" 2 | 3 | fn f() -> Unit -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg2.in/p/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "implement" : "username/v" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg2.in/p/p.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | pub fn f() -> Unit { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg2.in/p/v/pkg.mbti: -------------------------------------------------------------------------------- 1 | package "username/v" 2 | 3 | fn f() -> Unit 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg_dep/indirect_depend_virtual/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg_dep/indirect_depend_virtual/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg_test/virtual_with_transitive_dep/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/virtual_pkg_test/virtual_with_transitive_dep/src/dep/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/alert_list/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/alert_list/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/alert_list/lib2/hello.mbt: -------------------------------------------------------------------------------- 1 | 2 | 3 | pub fn hello() -> Unit { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/deny_warn/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/deny_warn/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/deny_warn/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/deny_warn/main/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | let a = 0 3 | @lib.hello() 4 | } 5 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/mod_level/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/mod_level/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/mod_level/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/lib/hello.mbt: -------------------------------------------------------------------------------- 1 | pub fn hello() -> Unit { 2 | let a = 0 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/lib/hello_test.mbt: -------------------------------------------------------------------------------- 1 | test { 2 | let a = 0 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "warn-list": "-2" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/warns/warn_list/lib1/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "warn-list": "-1" 3 | } -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/whitespace_test.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/whitespace_test.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/whitespace_test.in/main exe/main.mbt: -------------------------------------------------------------------------------- 1 | fn main { 2 | println(@lib.hello()) 3 | } 4 | -------------------------------------------------------------------------------- /crates/moon/tests/test_cases/whitespace_test.in/main lib/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/moon/tests/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moon/tests/util.rs -------------------------------------------------------------------------------- /crates/moonbuild-debug/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /crates/moonbuild-debug/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild-debug/Cargo.toml -------------------------------------------------------------------------------- /crates/moonbuild-debug/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild-debug/readme.md -------------------------------------------------------------------------------- /crates/moonbuild-debug/src/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild-debug/src/graph.rs -------------------------------------------------------------------------------- /crates/moonbuild-debug/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild-debug/src/lib.rs -------------------------------------------------------------------------------- /crates/moonbuild/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/Cargo.toml -------------------------------------------------------------------------------- /crates/moonbuild/src/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/bench.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/benchmark.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/build.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/bundle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/bundle.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/check/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/check/mod.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/doc_http.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/doc_http.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/dry_run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/dry_run.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/entry.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/expect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/expect.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/fmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/fmt.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/gen/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/gen/mod.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/gen/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/gen/util.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/lib.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/new.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/new.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/pre_build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/pre_build.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/runtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/runtest.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/test_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/test_utils.rs -------------------------------------------------------------------------------- /crates/moonbuild/src/upgrade.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/src/upgrade.rs -------------------------------------------------------------------------------- /crates/moonbuild/template/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonbuild/template/README.md -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_bin_script_template/unix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | "$runtime" "$artifact_output_path" "$@" 3 | -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_new_template/.githooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | moon check -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_new_template/README.mbt.md: -------------------------------------------------------------------------------- 1 | # {{username}}/{{module}} -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_new_template/README.md: -------------------------------------------------------------------------------- 1 | README.mbt.md -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_new_template/cmd/main/main.mbt: -------------------------------------------------------------------------------- 1 | ///| 2 | fn main { 3 | println(@lib.fib(10)) 4 | } 5 | -------------------------------------------------------------------------------- /crates/moonbuild/template/moon_new_template/moon.pkg.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /crates/mooncake/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/Cargo.toml -------------------------------------------------------------------------------- /crates/mooncake/src/dep_dir.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/dep_dir.rs -------------------------------------------------------------------------------- /crates/mooncake/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/lib.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/add.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/add.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/install.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/install.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/mod.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/remove.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/remove.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/sync.rs -------------------------------------------------------------------------------- /crates/mooncake/src/pkg/tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/pkg/tree.rs -------------------------------------------------------------------------------- /crates/mooncake/src/registry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/registry.rs -------------------------------------------------------------------------------- /crates/mooncake/src/resolver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/resolver.rs -------------------------------------------------------------------------------- /crates/mooncake/src/resolver/env.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/resolver/env.rs -------------------------------------------------------------------------------- /crates/mooncake/src/resolver/mvs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/resolver/mvs.rs -------------------------------------------------------------------------------- /crates/mooncake/src/update.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/mooncake/src/update.rs -------------------------------------------------------------------------------- /crates/moonrun/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/Cargo.lock -------------------------------------------------------------------------------- /crates/moonrun/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/Cargo.toml -------------------------------------------------------------------------------- /crates/moonrun/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/README.md -------------------------------------------------------------------------------- /crates/moonrun/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/build.rs -------------------------------------------------------------------------------- /crates/moonrun/docs/dev/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/docs/dev/README.md -------------------------------------------------------------------------------- /crates/moonrun/src/fs_api_temp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/src/fs_api_temp.rs -------------------------------------------------------------------------------- /crates/moonrun/src/js.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/src/js.rs -------------------------------------------------------------------------------- /crates/moonrun/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/src/main.rs -------------------------------------------------------------------------------- /crates/moonrun/src/sys_api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/src/sys_api.rs -------------------------------------------------------------------------------- /crates/moonrun/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/src/util.rs -------------------------------------------------------------------------------- /crates/moonrun/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonrun/tests/test.rs -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_cli_args.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_cli_args.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_cli_args.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_fmt_skip_prebuild_output/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_os_platform_detection/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_read_bytes.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_read_bytes.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_read_bytes.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_stack_trace.in/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .mooncakes/ 3 | -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_stack_trace.in/README.md: -------------------------------------------------------------------------------- 1 | # username/hello -------------------------------------------------------------------------------- /crates/moonrun/tests/test_cases/test_stack_trace.in/main/moon.pkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "is-main": true 3 | } -------------------------------------------------------------------------------- /crates/moonutil/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/Cargo.toml -------------------------------------------------------------------------------- /crates/moonutil/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/build.rs -------------------------------------------------------------------------------- /crates/moonutil/src/binaries.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/binaries.rs -------------------------------------------------------------------------------- /crates/moonutil/src/build_script.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/build_script.rs -------------------------------------------------------------------------------- /crates/moonutil/src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/cli.rs -------------------------------------------------------------------------------- /crates/moonutil/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/common.rs -------------------------------------------------------------------------------- /crates/moonutil/src/cond_expr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/cond_expr.rs -------------------------------------------------------------------------------- /crates/moonutil/src/dependency.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/dependency.rs -------------------------------------------------------------------------------- /crates/moonutil/src/dirs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/dirs.rs -------------------------------------------------------------------------------- /crates/moonutil/src/doc_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/doc_test.rs -------------------------------------------------------------------------------- /crates/moonutil/src/features.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/features.rs -------------------------------------------------------------------------------- /crates/moonutil/src/fuzzy_match.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/fuzzy_match.rs -------------------------------------------------------------------------------- /crates/moonutil/src/git.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/git.rs -------------------------------------------------------------------------------- /crates/moonutil/src/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/graph.rs -------------------------------------------------------------------------------- /crates/moonutil/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/lib.rs -------------------------------------------------------------------------------- /crates/moonutil/src/module.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/module.rs -------------------------------------------------------------------------------- /crates/moonutil/src/moon_dir.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/moon_dir.rs -------------------------------------------------------------------------------- /crates/moonutil/src/mooncakes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/mooncakes.rs -------------------------------------------------------------------------------- /crates/moonutil/src/package.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/package.rs -------------------------------------------------------------------------------- /crates/moonutil/src/path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/path.rs -------------------------------------------------------------------------------- /crates/moonutil/src/platform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/platform.rs -------------------------------------------------------------------------------- /crates/moonutil/src/render.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/render.rs -------------------------------------------------------------------------------- /crates/moonutil/src/scan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/scan.rs -------------------------------------------------------------------------------- /crates/moonutil/src/shlex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/shlex.rs -------------------------------------------------------------------------------- /crates/moonutil/src/shlex/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/shlex/tests.rs -------------------------------------------------------------------------------- /crates/moonutil/src/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/crates/moonutil/src/version.rs -------------------------------------------------------------------------------- /docs/dev/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/README.md -------------------------------------------------------------------------------- /docs/dev/reference/arch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/arch.md -------------------------------------------------------------------------------- /docs/dev/reference/binaries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/binaries.md -------------------------------------------------------------------------------- /docs/dev/reference/build.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/build.md -------------------------------------------------------------------------------- /docs/dev/reference/bundle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/bundle.md -------------------------------------------------------------------------------- /docs/dev/reference/cond-comp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/cond-comp.md -------------------------------------------------------------------------------- /docs/dev/reference/debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/debugging.md -------------------------------------------------------------------------------- /docs/dev/reference/dry-run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/dry-run.md -------------------------------------------------------------------------------- /docs/dev/reference/indirect-dep.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/indirect-dep.md -------------------------------------------------------------------------------- /docs/dev/reference/prebuild.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/prebuild.md -------------------------------------------------------------------------------- /docs/dev/reference/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/readme.md -------------------------------------------------------------------------------- /docs/dev/reference/tcc-run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/tcc-run.md -------------------------------------------------------------------------------- /docs/dev/reference/tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/tests.md -------------------------------------------------------------------------------- /docs/dev/reference/virtual-pkg.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/dev/reference/virtual-pkg.md -------------------------------------------------------------------------------- /docs/manual-zh/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /docs/manual-zh/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual-zh/book.toml -------------------------------------------------------------------------------- /docs/manual-zh/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual-zh/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/manual-zh/src/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual-zh/src/commands.md -------------------------------------------------------------------------------- /docs/manual-zh/src/json_schema.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual-zh/src/json_schema.md -------------------------------------------------------------------------------- /docs/manual/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /docs/manual/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual/book.toml -------------------------------------------------------------------------------- /docs/manual/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/manual/src/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual/src/commands.md -------------------------------------------------------------------------------- /docs/manual/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual/src/index.md -------------------------------------------------------------------------------- /docs/manual/src/json_schema.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/docs/manual/src/json_schema.md -------------------------------------------------------------------------------- /licenserc.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/licenserc.toml -------------------------------------------------------------------------------- /xtask/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/Cargo.toml -------------------------------------------------------------------------------- /xtask/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/README.md -------------------------------------------------------------------------------- /xtask/rr_expected_failures.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/rr_expected_failures.txt -------------------------------------------------------------------------------- /xtask/rr_wont_fix.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/rr_wont_fix.txt -------------------------------------------------------------------------------- /xtask/src/bundle_template.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/bundle_template.rs -------------------------------------------------------------------------------- /xtask/src/cmdtest/exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/cmdtest/exec.rs -------------------------------------------------------------------------------- /xtask/src/cmdtest/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/cmdtest/mod.rs -------------------------------------------------------------------------------- /xtask/src/cmdtest/moon.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/cmdtest/moon.test -------------------------------------------------------------------------------- /xtask/src/cmdtest/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/cmdtest/parse.rs -------------------------------------------------------------------------------- /xtask/src/cmdtest/run.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/cmdtest/run.rs -------------------------------------------------------------------------------- /xtask/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/main.rs -------------------------------------------------------------------------------- /xtask/src/sync_docs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/sync_docs.rs -------------------------------------------------------------------------------- /xtask/src/test_rr_parity.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moonbitlang/moon/HEAD/xtask/src/test_rr_parity.rs --------------------------------------------------------------------------------