mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 10:10:12 +00:00
Compare commits
3 commits
b8b98e7fd0
...
b83109b65a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b83109b65a | ||
|
|
695d1debf2 | ||
|
|
ebb23286d8 |
4 changed files with 7 additions and 5 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
!Cargo.toml
|
||||
!Cargo.lock
|
||||
!rust-toolchain.toml
|
||||
!PluralKit.sln
|
||||
!nuget.config
|
||||
!ci/dotnet-version.sh
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ WORKDIR /build
|
|||
|
||||
RUN apk add rustup build-base
|
||||
# todo: arm64 target
|
||||
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain nightly-2025-08-22 --profile default -y
|
||||
COPY rust-toolchain.toml .
|
||||
RUN rustup-init --no-update-default-toolchain -y
|
||||
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
ENV RUSTFLAGS='-C link-arg=-s'
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@
|
|||
gcc
|
||||
omnisharp-roslyn
|
||||
bashInteractive
|
||||
rust-analyzer
|
||||
];
|
||||
runScript = cmd;
|
||||
};
|
||||
|
|
@ -73,9 +72,7 @@
|
|||
programs.nixfmt.enable = true;
|
||||
};
|
||||
|
||||
nci.toolchainConfig = {
|
||||
channel = "nightly";
|
||||
};
|
||||
nci.toolchainConfig = ./rust-toolchain.toml;
|
||||
nci.projects."pluralkit-services" = {
|
||||
path = ./.;
|
||||
export = false;
|
||||
|
|
|
|||
3
rust-toolchain.toml
Normal file
3
rust-toolchain.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "nightly-2025-08-22"
|
||||
components = ["rust-src", "rustfmt", "rust-analyzer"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue