diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6164af1112..4ee8789f7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -340,6 +340,7 @@ jobs: os: windows-latest rust: stable target: aarch64-pc-windows-msvc + features: --no-default-features --features cli libc: msvc ext: ".exe" @@ -347,6 +348,7 @@ jobs: os: ubuntu-latest rust: stable target: i686-pc-windows-gnu + features: --no-default-features --features cli cross: true libc: glibc ext: ".exe" diff --git a/Cargo.toml b/Cargo.toml index f43147be27..7c204e752f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ opentelemetry-otlp = { version = "0.15.0", features = [ "tls-roots", ], optional = true } opentelemetry-system-metrics = { version = "0.1.8", optional = true } -tailcall-http-cache = {path = "tailcall-http-cache", optional = true } +tailcall-http-cache = { path = "tailcall-http-cache", optional = true } tailcall-version = { path = "./tailcall-version", optional = true } diff --git a/src/cli/runtime/mod.rs b/src/cli/runtime/mod.rs index 407a69de91..b6d5812ec6 100644 --- a/src/cli/runtime/mod.rs +++ b/src/cli/runtime/mod.rs @@ -40,7 +40,10 @@ fn init_http_worker_io( #[cfg(feature = "js")] return Some(super::javascript::init_worker_io(script?)); #[cfg(not(feature = "js"))] - None + { + let _ = script; + None + } } fn init_resolver_worker_io( @@ -49,7 +52,10 @@ fn init_resolver_worker_io( #[cfg(feature = "js")] return Some(super::javascript::init_worker_io(script?)); #[cfg(not(feature = "js"))] - None + { + let _ = script; + None + } } // Provides access to http in native rust environment