diff options
Diffstat (limited to 'examples/doom')
| -rw-r--r-- | examples/doom/Cargo.toml | 16 | ||||
| -rw-r--r-- | examples/doom/README.md | 4 | ||||
| -rw-r--r-- | examples/doom/out/.gitkeep | 0 |
3 files changed, 12 insertions, 8 deletions
diff --git a/examples/doom/Cargo.toml b/examples/doom/Cargo.toml index c1d0af4..62710de 100644 --- a/examples/doom/Cargo.toml +++ b/examples/doom/Cargo.toml @@ -1,13 +1,15 @@ +# treat this as an independent package +[workspace] + [package] name="tinywasm-doom" publish=false -edition.workspace=true -rust-version.workspace=true +edition="2024" [dependencies] -eyre.workspace=true -pretty_env_logger.workspace=true -tinywasm={workspace=true, features=[ +eyre="0.6" +pretty_env_logger="0.5" +tinywasm={features=[ "std", "parser", "log", @@ -15,7 +17,7 @@ tinywasm={workspace=true, features=[ "canonicalize-nans", "debug", "parallel-parser", -]} -log.workspace=true +], path="../../crates/tinywasm"} +log="0.4" softbuffer="0.4" winit="0.30" diff --git a/examples/doom/README.md b/examples/doom/README.md index f3bc60e..7438563 100644 --- a/examples/doom/README.md +++ b/examples/doom/README.md @@ -10,10 +10,12 @@ This example builds a WebAssembly guest from [`PureDOOM`](https://github.com/Dai ## Running the example +From the root of the repository, run: + ```sh # download & build `PureDOOM` ./examples/doom/build.sh # start doom with the WAD you want to use -cargo run -p tinywasm-doom --release -- /path/to/DOOM1.WAD +cargo doom /path/to/doom.wad ``` diff --git a/examples/doom/out/.gitkeep b/examples/doom/out/.gitkeep deleted file mode 100644 index e69de29..0000000 --- a/examples/doom/out/.gitkeep +++ /dev/null |
