diff --git a/.cargo/config b/.cargo/config index 72cb7da529..041039b191 100644 --- a/.cargo/config +++ b/.cargo/config @@ -10,7 +10,7 @@ csv-export = "run --manifest-path common/Cargo.toml --features=bin_csv --bin csv csv-import = "run --manifest-path common/Cargo.toml --features=bin_csv --bin csv_import" # server-cli server = "run --bin veloren-server-cli" -test-server = "run --bin veloren-server-cli --no-default-features simd" +test-server = "run --bin veloren-server-cli --no-default-features --features simd" tracy-server = "run --bin veloren-server-cli --no-default-features --features tracy,simd --profile no_overflow" tracy-world-server = "run --bin veloren-server-cli --features tracy,simd --profile no_overflow" tracy-world-server-debuginfo = "run --bin veloren-server-cli --features tracy,simd --profile no_overflow_debuginfo" diff --git a/server/src/test_world.rs b/server/src/test_world.rs index 41f6681d38..51c90d0bc8 100644 --- a/server/src/test_world.rs +++ b/server/src/test_world.rs @@ -1,4 +1,5 @@ use common::{ + calendar::Calendar, generation::{ChunkSupplement, EntityInfo}, resources::TimeOfDay, terrain::{ @@ -46,7 +47,7 @@ impl World { _index: IndexRef, chunk_pos: Vec2, _should_continue: impl FnMut() -> bool, - _time: Option, + _time: Option<(TimeOfDay, Calendar)>, ) -> Result<(TerrainChunk, ChunkSupplement), ()> { let (x, y) = chunk_pos.map(|e| e.to_le_bytes()).into_tuple(); let mut rng = SmallRng::from_seed([