Skip to content

Commit 4b2efcd

Browse files
committed
chore: update .gitignore and Cargo.toml configurations
Add `/emsdk` to .gitignore to exclude emsdk directory from version control. Update `godot` dependency in Cargo.toml to explicitly use the master branch. Modify rustflags in .cargo/cargo.toml to include a comment about thread support.
1 parent 023fe8e commit 4b2efcd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

squash-the-creeps/rust/.cargo/cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# targets: https://github.com/rust-lang/cargo/issues/8733
55
[target.wasm32-unknown-emscripten]
66
rustflags = [
7-
"-C", "link-args=-pthread", # assumes threads enabled.
7+
"-C", "link-args=-pthread", # /!\ Read 'Thread support' below regarding this flag
88
"-C", "link-args=-sSIDE_MODULE=2",
99
"-C", "target-feature=+atomics,+bulk-memory,+mutable-globals",
1010
"-Zlink-native-libraries=no",

squash-the-creeps/rust/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/target
2+
/emsdk

squash-the-creeps/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ crate-type = ["cdylib"]
1111

1212
[dependencies]
1313
rand = "0.9.0"
14-
godot = { git = "https://github.com/godot-rust/gdext.git" }
14+
godot = { git = "https://github.com/godot-rust/gdext.git", branch = "master" }
1515
# For Wasm, feature "experimental-wasm" can be added, but this is already done in build-wasm.sh script.

0 commit comments

Comments
 (0)