diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-09-19 14:43:47 +1200 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-09-19 14:43:47 +1200 |
commit | 014aa3639223e0656834d7d469faad40291dd2aa (patch) | |
tree | 372dbc6c9e77b00d9fc86e785fb3463a3f8e40e2 /src/emulators/headless_emulator.rs | |
parent | 967866ca2ec7d066e510b287522c8f69de2c3232 (diff) | |
download | bedrock-pc-014aa3639223e0656834d7d469faad40291dd2aa.zip |
Allow building Bedrock programs as standalone executables
This commit adds a run_program() function to the root of the library.
Any Bedrock program can be compiled as a standalone native executable
by creating a thin Rust program that calls only that function, passing
in the bytecode of the program and a configuration object.
Diffstat (limited to 'src/emulators/headless_emulator.rs')
0 files changed, 0 insertions, 0 deletions