Skip to content

Commit

Permalink
update cargo config
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlauyin committed Nov 5, 2024
1 parent 3c19090 commit a65714a
Show file tree
Hide file tree
Showing 5 changed files with 1,373 additions and 1,385 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[lib]
name = "shooting_game_lib"
crate-type = ["cdylib", "rlib"]
crate-type = ["cdylib"]
path = "./src/lib.rs"

[dependencies]
Expand Down
12 changes: 5 additions & 7 deletions examples/web/shooting-game.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ export interface InitOutput {
readonly __wbindgen_export_0: (a: number, b: number) => number;
readonly __wbindgen_export_1: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly __wbindgen_export_3: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_4: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_export_5: (a: number, b: number) => void;
readonly __wbindgen_export_6: (a: number, b: number) => void;
readonly __wbindgen_export_7: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_8: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_9: (a: number) => void;
readonly __wbindgen_export_3: (a: number, b: number) => void;
readonly __wbindgen_export_4: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_5: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_export_6: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_7: (a: number) => void;
}

export type SyncInitInput = BufferSource | WebAssembly.Module;
Expand Down
Loading

0 comments on commit a65714a

Please sign in to comment.