-
- Downloads
feat: support for the gen.rs information
Uses the `build.rs` file to generate compile time information about the build environment. This information is exposed to the WASM environment through interface methods that are then used by the `Emulator` interface.
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- Cargo.toml 7 additions, 0 deletionsCargo.toml
- README.md 1 addition, 1 deletionREADME.md
- build.rs 153 additions, 0 deletionsbuild.rs
- frontends/web/react/components/help/help.tsx 3 additions, 1 deletionfrontends/web/react/components/help/help.tsx
- frontends/web/ts/gb.ts 18 additions, 0 deletionsfrontends/web/ts/gb.ts
- node_modules/emukit 1 addition, 0 deletionsnode_modules/emukit
- src/gb.rs 20 additions, 0 deletionssrc/gb.rs
- src/lib.rs 1 addition, 0 deletionssrc/lib.rs
... | ... | @@ -8,6 +8,8 @@ repository = "https://github.com/joamag/boytacean" |
keywords = ["gameboy", "emulator", "rust"] | ||
edition = "2018" | ||
exclude = ["/frontends", "/res/roms", "/res/screens", "/res/videos"] | ||
build = "build.rs" | ||
readme = "README.md" | ||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
... | ... | @@ -19,6 +21,11 @@ debug = [] |
[dependencies] | ||
wasm-bindgen = { version = "0.2", optional = true } | ||
[build-dependencies] | ||
chrono = "0.4" | ||
num_cpus = "1" | ||
regex = "1" | ||
[profile.release] | ||
debug = false | ||
lto = true | ||
... | ... |
build.rs
0 → 100644
Please register or sign in to comment