Move off of nightly
This commit is contained in:
parent
a6ca90a1e0
commit
bf85290cf9
18
.github/workflows/rust.yml
vendored
18
.github/workflows/rust.yml
vendored
@ -35,10 +35,6 @@ jobs:
|
||||
name: Check formatting
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_jar]
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
@ -51,10 +47,6 @@ jobs:
|
||||
name: Detect unused dependencies
|
||||
runs-on: ubuntu-latest
|
||||
needs: [format]
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
@ -64,10 +56,6 @@ jobs:
|
||||
name: Run lints (debug)
|
||||
runs-on: ubuntu-latest
|
||||
needs: [machete]
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
@ -94,10 +82,6 @@ jobs:
|
||||
name: Run lints (release)
|
||||
runs-on: ubuntu-latest
|
||||
needs: [machete]
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
@ -134,8 +118,6 @@ jobs:
|
||||
windows-11-arm,
|
||||
macos-latest,
|
||||
]
|
||||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
|
||||
@ -14,9 +14,6 @@ A plugin for [PumpkinMC](https://pumpkinmc.org/) that adds support for [PaperMC]
|
||||
|
||||
If you wish to contribute to PatchBukkit, follow the following steps:
|
||||
|
||||
> [!NOTE]
|
||||
> Your PumpkinMC server must be built with the same nightly toolchain as PatchBukkit.
|
||||
|
||||
1. Run `./build.sh`
|
||||
2. Copy the generated native library from `rust/target/debug/` (or `rust/target/release/`) to your PumpkinMC `plugins/` directory.
|
||||
3. Start Pumpkin once to create the `patchbukkit/` directory in your server root, then place your `.jar` plugins in `patchbukkit/patchbukkit-plugins/`.
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
[unstable]
|
||||
bindeps = true
|
||||
# [unstable]
|
||||
# bindeps = true
|
||||
|
||||
@ -46,7 +46,7 @@ protoc-bin-vendored = "3"
|
||||
glob = "0.3"
|
||||
|
||||
[profile.release]
|
||||
lto = false # LTO is broken on CI cause of a Nightly rustc compiler bug
|
||||
lto = true
|
||||
|
||||
[lints.clippy]
|
||||
# Groups
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2026-08-07"
|
||||
channel = "stable"
|
||||
components = ["rust-analyzer", "rust-src", "rustfmt", "clippy"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user