mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Bump to Rust 1.80 (#4681)
This commit is contained in:
parent
6fbba6d73f
commit
9909f12d4f
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@1.79.0
|
- uses: dtolnay/rust-toolchain@1.80.0
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo test --workspace --no-run
|
- run: cargo test --workspace --no-run
|
||||||
- run: cargo test --workspace --no-fail-fast
|
- run: cargo test --workspace --no-fail-fast
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@1.79.0
|
- uses: dtolnay/rust-toolchain@1.80.0
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@1.79.0
|
- uses: dtolnay/rust-toolchain@1.80.0
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
|
@ -140,5 +140,6 @@ codegen-units = 1
|
|||||||
strip = true
|
strip = true
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
uninlined_format_args = "warn"
|
|
||||||
blocks_in_conditions = "allow"
|
blocks_in_conditions = "allow"
|
||||||
|
mutable_key_type = "allow"
|
||||||
|
uninlined_format_args = "warn"
|
||||||
|
@ -305,7 +305,7 @@ impl<'a, R> Iterator for ColorFontMapIter<'a, R> {
|
|||||||
|
|
||||||
/// A set of at most 256 glyphs (a limit imposed on Type3 fonts by the PDF
|
/// A set of at most 256 glyphs (a limit imposed on Type3 fonts by the PDF
|
||||||
/// specification) that represents a part of a TTF font.
|
/// specification) that represents a part of a TTF font.
|
||||||
#[derive(PartialEq, Eq, Hash, Debug, Clone)]
|
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
||||||
pub struct ColorFontSlice {
|
pub struct ColorFontSlice {
|
||||||
/// The original TTF font.
|
/// The original TTF font.
|
||||||
pub font: Font,
|
pub font: Font,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user