Skip to content

Commit

Permalink
Disable core-time feautre due to iana-time-zone incompatibility
Browse files Browse the repository at this point in the history
```
6 | / compile_error!(
7 | |     "iana-time-zone is currently implemented for Linux, Window, MacOS, FreeBSD, NetBSD, \
8 | |     OpenBSD, Dragonfly, WebAssembly (browser), iOS, Illumos, Android, AIX, Solaris and Haiku.",
9 | | );
  | |_^
```

See:

- strawlab/iana-time-zone#130
  • Loading branch information
lopopolo committed Jan 12, 2025
1 parent 2c44512 commit 2c32af0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ jobs:
run: cargo clippy --workspace --all-features --all-targets

- name: Lint with Clippy on emscripten target
run: |
sed -i '/"core-time"/s/^/ # /' playground/Cargo.toml
cargo clippy --workspace --all-features --all-targets --target wasm32-unknown-emscripten
run: cargo clippy --workspace --all-features --all-targets --target wasm32-unknown-emscripten

ruby:
name: Lint and format Ruby
Expand Down
1 change: 0 additions & 1 deletion playground/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ features = [
"core-math-full",
"core-random",
"core-regexp",
"core-time",
"output-strategy-capture",
"stdlib-full",
]
Expand Down

0 comments on commit 2c32af0

Please sign in to comment.