Skip to content

refactor: add moonrun.js#1473

Open
peter-jerry-ye wants to merge 1 commit intomainfrom
zihang/refactor-moon-run
Open

refactor: add moonrun.js#1473
peter-jerry-ye wants to merge 1 commit intomainfrom
zihang/refactor-moon-run

Conversation

@peter-jerry-ye
Copy link
Contributor

  • Related issues: None
  • PR kind: feature

Summary

Provide a JS written moonrun runtime so that user on different platforms no longer need to compile V8.

Metadata

  • Tests added/updated for bug fixes or new features
  • Compatible with Windows/Linux/macOS

@semanticdiff-com
Copy link

semanticdiff-com bot commented Feb 11, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  crates/moonrun/src/main.rs  8% smaller
  Cargo.lock Unsupported file format
  crates/moonrun/Cargo.toml Unsupported file format
  crates/moonrun/README.md Unsupported file format
  crates/moonrun/src/sys_api.rs  0% smaller
  crates/moonrun/src/template/js_glue.js  0% smaller
  crates/moonrun/src/template/js_glue_core.js  0% smaller
  crates/moonrun/src/template/js_host_node.js  0% smaller
  crates/moonrun/src/template/moonrun.js  0% smaller
  crates/moonrun/tests/test.rs  0% smaller
  crates/moonrun/tests/test_cases/test_read_bytes_consumed.in/.gitignore Unsupported file format
  crates/moonrun/tests/test_cases/test_read_bytes_consumed.in/README.md Unsupported file format
  crates/moonrun/tests/test_cases/test_read_bytes_consumed.in/main/main.mbt Unsupported file format
  crates/moonrun/tests/test_cases/test_read_bytes_consumed.in/main/moon.pkg.json  0% smaller
  crates/moonrun/tests/test_cases/test_read_bytes_consumed.in/moon.mod.json  0% smaller
  crates/moonrun/tests/test_cases/test_remove_dir_file_path.in/.gitignore Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_file_path.in/README.md Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_file_path.in/main/main.mbt Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_file_path.in/main/moon.pkg.json  0% smaller
  crates/moonrun/tests/test_cases/test_remove_dir_file_path.in/moon.mod.json  0% smaller
  crates/moonrun/tests/test_cases/test_remove_dir_new_file_path.in/.gitignore Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_new_file_path.in/README.md Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_new_file_path.in/main/main.mbt Unsupported file format
  crates/moonrun/tests/test_cases/test_remove_dir_new_file_path.in/main/moon.pkg.json  0% smaller
  crates/moonrun/tests/test_cases/test_remove_dir_new_file_path.in/moon.mod.json  0% smaller
  crates/moonrun/tests/test_cases/test_write_char_surrogates.in/.gitignore Unsupported file format
  crates/moonrun/tests/test_cases/test_write_char_surrogates.in/README.md Unsupported file format
  crates/moonrun/tests/test_cases/test_write_char_surrogates.in/main/main.mbt Unsupported file format
  crates/moonrun/tests/test_cases/test_write_char_surrogates.in/main/moon.pkg.json  0% smaller
  crates/moonrun/tests/test_cases/test_write_char_surrogates.in/moon.mod.json  0% smaller

@peter-jerry-ye peter-jerry-ye force-pushed the zihang/refactor-moon-run branch 2 times, most recently from 52f3e35 to 53668ad Compare February 11, 2026 10:43
@peter-jerry-ye peter-jerry-ye force-pushed the zihang/refactor-moon-run branch from 53668ad to 4a8643b Compare February 12, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant