Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Noratrieb committed Apr 1, 2023
1 parent b8e31e5 commit feaf3c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
13 changes: 13 additions & 0 deletions crash.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/lib.rs b/src/lib.rs
index 96a3850a..966d6627 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,8 +3,4 @@ pub struct ChunkMesh<const CHUNK_SIZE: usize> {
position: [(); CHUNK_SIZE],
}

-/////// MOVE START
-impl<const CHUNK_SIZE: usize> ChunkMesh<CHUNK_SIZE> {}
-#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
-struct ChunkTodo {}
/////// MOVE END
3 changes: 1 addition & 2 deletions minimize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ cp src/lib.rs old.rs
cargo clean
cargo check

./patch.py
mv out.rs src/lib.rs
git apply crash.patch

OUT=$(cargo check 2>&1)

Expand Down
19 changes: 0 additions & 19 deletions patch.py

This file was deleted.

0 comments on commit feaf3c0

Please sign in to comment.