summaryrefslogtreecommitdiff
path: root/games/veloren-weekly/files/patch-i386
diff options
context:
space:
mode:
Diffstat (limited to 'games/veloren-weekly/files/patch-i386')
-rw-r--r--games/veloren-weekly/files/patch-i38628
1 files changed, 0 insertions, 28 deletions
diff --git a/games/veloren-weekly/files/patch-i386 b/games/veloren-weekly/files/patch-i386
deleted file mode 100644
index 2dd39fcca4b6..000000000000
--- a/games/veloren-weekly/files/patch-i386
+++ /dev/null
@@ -1,28 +0,0 @@
-https://gitlab.com/veloren/veloren/-/merge_requests/4103
-
-error[E0308]: mismatched types
- --> rtsim/src/gen/mod.rs:30:43
- |
-30 | let mut rng = SmallRng::from_seed(seed);
- | ------------------- ^^^^ expected an array with a fixed size of 16 elements, found one with 32 elements
- | |
- | arguments to this function are incorrect
- |
-note: associated function defined here
- --> cargo-crates/rand_core-0.6.4/src/lib.rs:319:8
- |
-319 | fn from_seed(seed: Self::Seed) -> Self;
- | ^^^^^^^^^
-
---- rtsim/src/gen/mod.rs.orig 2023-07-03 10:21:20 UTC
-+++ rtsim/src/gen/mod.rs
-@@ -23,6 +23,9 @@ impl Data {
-
- impl Data {
- pub fn generate(settings: &WorldSettings, world: &World, index: IndexRef) -> Self {
-+#[cfg(target_pointer_width = "32")]
-+ let mut seed = [0; 16];
-+#[cfg(not(target_pointer_width = "32"))]
- let mut seed = [0; 32];
- seed.iter_mut()
- .zip(&mut index.seed.to_le_bytes())