Skip to content

Commit

Permalink
Add godot-cell
Browse files Browse the repository at this point in the history
Implement reentrant instance storage
  • Loading branch information
lilizoey committed Dec 4, 2023
1 parent 6e6ff3a commit 6fea32e
Show file tree
Hide file tree
Showing 19 changed files with 2,062 additions and 167 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,31 @@ jobs:
run: cargo test $GDEXT_FEATURES ${{ matrix.rust-extra-args }}


miri-test:
name: miri-test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- name: "Install Rust"
uses: ./.github/composite/rust

- name: "Install Miri"
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: "Compile tests"
run: cargo +nightly miri test -p godot-cell --no-run

- name: "Test stacked borrows"
run: cargo +nightly miri test -p godot-cell

- name: "Test tree borrows"
run: MIRIFLAGS="-Zmiri-tree-borrows" cargo +nightly miri test -p godot-cell


# For complex matrix workflow, see https://stackoverflow.com/a/65434401
godot-itest:
name: godot-itest (${{ matrix.name }})
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"godot-ffi",
"godot-core",
"godot-macros",
"godot-cell",
"godot",

# Godot integration
Expand Down
7 changes: 7 additions & 0 deletions godot-cell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "godot-cell"
version = "0.1.0"
edition = "2021"

[dev-dependencies]
proptest = "1.4.0"
Loading

0 comments on commit 6fea32e

Please sign in to comment.