Skip to content

Commit 3ad8082

Browse files
authored
fix(core): wasm build should build (#30655)
## Current Behavior There are warnings as well as an error and wasm does not build ## Expected Behavior wasm. builds
1 parent 5feafd6 commit 3ad8082

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/nx/src/native/cache/http_remote_cache.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use std::{
22
env,
3-
error::Error,
43
fs::{self},
54
io::Read,
65
path::Path,

packages/nx/src/native/cache/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
pub mod errors;
21
pub mod expand_outputs;
32
pub mod file_ops;
43
pub mod validate_outputs;
54

65
#[cfg(not(target_arch = "wasm32"))]
76
pub mod cache;
87
#[cfg(not(target_arch = "wasm32"))]
8+
pub mod errors;
9+
#[cfg(not(target_arch = "wasm32"))]
910
pub mod http_remote_cache;

0 commit comments

Comments
 (0)