Files
Brett Lawson 230d9c837f Pin Rust 1.99.1: G2 fillets run 2-3x faster than on 1.98 (#15063)
* Claim: pin Rust 1.99.1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEtwSrdwZxqTQp5MfnU

* Pin Rust 1.99.1 everywhere 1.98.0 was pinned

Code built by 1.98.0 (LLVM 22) runs the G2 and curvature fillet path 2-3x slower
than 1.99.1 (LLVM 23), at the ci and release profiles alike. Move both
rust-toolchain.toml files, every workflow's dtolnay/rust-toolchain step, the FreeBSD
rustup install, the web Dockerfile and the docs to 1.99.1.

Clippy 1.99 lints fixed in solidcore: explicit_iter_loop in procedural_blend/corner.rs
(loop over `&mut self.sides`), and mut_mut on set_props_stage2_mut's `&mut &mut Brep`
argument, which the generic stage needs (`FaceBrep` is implemented for `&mut Brep`
only), allowed on that method with the reason. The new pedantic assert_is_empty lint
(only in tests) joins the workspace's justified pedantic allows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEtwSrdwZxqTQp5MfnU

* Pin Rust 1.99.1 in the FreeBSD release job main added since

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEtwSrdwZxqTQp5MfnU

* solidcore: iterate the Mixed corner's sides through the slice, so it still builds on Rust 1.85-1.98

`for s in &mut self.sides` over a `Box<[Side; 4]>` needs `IntoIterator for &mut Box<[T; N]>`,
which Rust 1.99 added; solidcore declares rust-version 1.85, and 1.98 fails with E0277.
`&mut *self.sides` iterates the array on every version and satisfies clippy's
explicit_iter_loop on 1.99.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEtwSrdwZxqTQp5MfnU

* Pin Rust 1.99.1 in the release icons job main added since

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEtwSrdwZxqTQp5MfnU

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brett Lawson <brett@casonix.com>
2026-11-13 02:39:21 +00:00

34 lines
1.0 KiB
YAML

# Files many pull requests add to are kept so that additions don't conflict: one file per change
# or one sorted line per item (CONTRIBUTING.md, "Lists many changes add to"). Fast, no build.
# Pull requests get the same checks in CI's "Format and repository checks" job (one runner slot
# per PR instead of three); this copy keeps main honest.
name: Lists
on:
push:
branches: [main]
permissions:
contents: read
jobs:
format-changes:
name: Design format changes merge cleanly
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: bash scripts/test-format-pending.sh
sorted:
name: Lists are sorted one item per line
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dtolnay/rust-toolchain@1.99.1
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
key: lists
- run: cargo xtask lists