Skip to content

Commit

Permalink
Meta: upgrade nightly to 11-20
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinesfilmroellchen committed Nov 21, 2024
1 parent d8dd5bb commit 6ae6e99
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly-2024-09-12
toolchain: nightly-2024-11-20
components: rust-src, miri
- name: Setup Miri
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly-2024-09-12
toolchain: nightly-2024-11-20
- name: Install target toolchain
run: rustup target add ${{ matrix.target }}
- name: Install just
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly-2024-09-12
toolchain: nightly-2024-11-20
- name: Output Rust version to file
run: cargo --version > rust-version
- uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-09-12
toolchain: nightly-2024-11-20
profile: minimal
- name: Install Wasm target
run: rustup target add wasm32-unknown-unknown
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ missing_docs = { level = "deny", priority = -10 }
unused = { level = "deny", priority = -10 }
non_upper_case_globals = "allow"
incomplete_features = "allow"
# wasm_bindgen messed up
unexpected_cfgs = { level = "allow", check-cfg = [
'cfg(wasm_bindgen_unstable_test_coverage)',
] }

[workspace.lints.clippy]
all = "deny"
Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2024-09-12"
[toolchain]
channel = "nightly-2024-11-20"
106 changes: 53 additions & 53 deletions spcasm-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
[package]
name = "spcasm-web"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license-file.workspace = true
homepage.workspace = true
repository.workspace = true
autobins = false

[lib]
crate-type = ["bin"]

[features]
default = ["console_error_panic_hook"]

[dependencies]
wasm-bindgen = "0.2.92"
web-sys = { version = "0.3.69", features = [
"Window",
"Document",
"Element",
"HtmlElement",
"Node",
"console",
] }

flexstr = { version = "0.9.2" }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.6"

regex = { version = "1.10.6", default-features = false, features = [
"unicode",
"std",
] }
parking_lot = "0.12"

spcasm = { path = "../", default-features = false }

# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.6", optional = true }
html-escape = { version = "0.2.13", default-features = false }
js-sys = "0.3.69"
# fancy-no-syscall so that it works on wasm targets
miette = { version = "7", features = ["fancy-no-syscall"] }
talc = { version = "4.4.1", features = ["lock_api"] }

[lints]
workspace = true
[package]
name = "spcasm-web"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license-file.workspace = true
homepage.workspace = true
repository.workspace = true
autobins = false

[lib]
crate-type = ["bin"]

[features]
default = ["console_error_panic_hook"]

[dependencies]
wasm-bindgen = "0.2.92"
web-sys = { version = "0.3.69", features = [
"Window",
"Document",
"Element",
"HtmlElement",
"Node",
"console",
] }

flexstr = { version = "0.9.2" }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.6"

regex = { version = "1.10.6", default-features = false, features = [
"unicode",
"std",
] }
parking_lot = "0.12"

spcasm = { path = "../", default-features = false }

# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.6", optional = true }
html-escape = { version = "0.2.13", default-features = false }
js-sys = "0.3.69"
# fancy-no-syscall so that it works on wasm targets
miette = { version = "7", features = ["fancy-no-syscall"] }
talc = { version = "4.4.1", features = ["lock_api"] }

[lints]
workspace = true
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
if_let_guard,
get_mut_unchecked,
iter_intersperse,
const_option_ext,
const_for,
let_chains,
slice_as_chunks,
Expand All @@ -16,7 +15,6 @@
extract_if,
extend_one,
try_blocks,
option_get_or_insert_default,
maybe_uninit_array_assume_init,
adt_const_params
)]
Expand Down

0 comments on commit 6ae6e99

Please sign in to comment.