dotCooCoo
efdb04db8a
Lint: action_batch.rs compiles without an unused import on wasm32
...
On main, cargo xtask wasm printed an unused-import warning for json in
crates/engine/src/cmd/fileio/action_batch.rs, and this check reported
it as an error:
RUSTFLAGS=-Dwarnings cargo check -p vectorcraft-engine --target wasm32-unknown-unknown
Every use of json! in action_batch.rs is in code compiled only for
native targets. The wasm32 version of action_batch uses Value only.
The json import now has the same #[cfg(not(target_arch = "wasm32"))]
attribute as the code that uses it. Native builds import the same
names as before.
2026-10-17 12:50:37 +07:00
..
2026-10-17 12:50:37 +07:00
2026-10-10 14:27:24 +07:00
2026-10-14 04:56:30 +07:00
2026-10-12 11:02:17 +07:00
2026-10-17 12:26:14 +07:00
2026-10-13 18:17:02 +02:00
2026-10-14 13:49:59 +07:00
2026-10-10 10:28:03 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 09:43:15 +07:00
2026-10-16 04:04:50 +07:00
2026-10-16 06:16:36 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 15:27:52 +07:00
2026-10-16 02:21:46 +07:00
2026-10-16 15:27:54 +07:00
2026-10-16 02:56:35 +07:00
2026-10-16 03:36:20 +07:00
2026-10-16 02:26:04 +07:00
2026-10-16 15:27:54 +07:00
2026-10-11 01:45:18 +07:00
2026-10-12 00:15:59 +07:00
2026-10-16 15:27:53 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-14 08:01:50 +07:00
2026-10-16 02:26:15 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 15:27:54 +07:00
2026-10-16 06:16:34 +07:00
2026-10-16 02:26:15 +07:00
2026-10-10 09:07:53 +07:00
2026-10-16 04:44:50 +07:00
2026-10-14 08:11:02 +07:00
2026-10-16 06:16:35 +07:00
2026-10-16 04:44:53 +07:00
2026-10-16 14:58:09 +07:00
2026-10-16 06:16:35 +07:00
2026-10-14 05:13:15 +07:00
2026-10-16 01:36:25 +07:00
2026-10-10 17:17:01 +07:00
2026-10-14 10:13:45 +07:00
2026-10-14 04:56:30 +07:00
2026-10-17 12:48:19 +07:00
2026-10-13 18:17:02 +02:00
2026-10-13 05:21:31 +07:00
2026-10-16 15:27:53 +07:00
2026-10-17 12:48:19 +07:00
2026-10-16 06:16:35 +07:00
2026-10-13 05:21:31 +07:00
2026-10-16 15:27:54 +07:00
2026-10-13 18:19:12 +02:00
2026-10-13 18:17:49 +02:00
2026-10-16 02:21:46 +07:00
2026-10-13 11:53:38 +07:00
2026-10-13 10:52:38 +07:00
2026-10-12 08:45:22 +07:00
2026-10-16 06:16:35 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 02:21:46 +07:00
2026-10-16 02:21:47 +07:00
2026-10-16 02:01:50 +07:00
2026-10-12 06:59:49 +07:00
2026-10-17 12:26:13 +07:00
2026-10-14 04:56:30 +07:00
2026-10-16 15:27:54 +07:00
2026-10-14 05:11:55 +07:00
2026-10-16 15:27:54 +07:00
2026-10-16 15:27:54 +07:00
2026-10-16 15:27:53 +07:00
2026-10-17 12:50:36 +07:00
2026-10-16 04:08:04 +07:00
2026-10-12 11:03:01 +07:00
2026-10-11 05:30:24 +07:00
2026-10-16 04:04:49 +07:00
2026-10-12 11:02:32 +07:00
2026-10-13 13:36:41 +07:00
2026-10-16 04:44:50 +07:00
2026-10-16 15:27:54 +07:00
2026-10-14 13:49:59 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 15:27:54 +07:00
2026-10-12 11:02:32 +07:00
2026-10-12 11:02:32 +07:00
2026-10-14 08:01:50 +07:00
2026-10-11 11:33:07 +07:00
2026-10-14 04:56:30 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 02:56:35 +07:00
2026-10-12 08:16:07 +07:00
2026-10-11 07:00:34 +07:00
2026-10-16 14:58:08 +07:00
2026-10-10 10:27:52 +07:00
2026-10-16 02:56:35 +07:00
2026-10-16 04:04:50 +07:00
2026-10-16 14:58:08 +07:00
2026-10-16 02:25:55 +07:00