aaaaa switch to stable n shit

This commit is contained in:
Schrottkatze 2024-11-23 15:28:20 +01:00
parent 1b43d29585
commit 5fa0f1b45f
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
4 changed files with 2 additions and 39 deletions

View file

@ -2,17 +2,5 @@
linker = "clang" linker = "clang"
rustflags = [ rustflags = [
"-C", "link-arg=-fuse-ld=mold", "-C", "link-arg=-fuse-ld=mold",
# (Nightly) Make the current crate share its generic instantiations
"-Zshare-generics=y",
] ]
[unstable]
codegen-backend = true
[profile.dev]
codegen-backend = "cranelift"
[profile.dev.package."*"]
codegen-backend = "llvm"

2
.envrc
View file

@ -1 +1 @@
use flake . --impure use flake . --impure --show-trace

16
flake.lock generated
View file

@ -1,20 +1,5 @@
{ {
"nodes": { "nodes": {
"crane": {
"locked": {
"lastModified": 1731974733,
"narHash": "sha256-enYSSZVVl15FI5p+0Y5/Ckf5DZAvXe6fBrHxyhA/njc=",
"owner": "ipetkov",
"repo": "crane",
"rev": "3cb338ce81076ce5e461cf77f7824476addb0e1c",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"fenix": { "fenix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -72,7 +57,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"crane": "crane",
"fenix": "fenix", "fenix": "fenix",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"

View file

@ -4,10 +4,6 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
fenix = { fenix = {
url = "github:nix-community/fenix"; url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -19,7 +15,6 @@
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
crane,
fenix, fenix,
flake-utils, flake-utils,
... ...
@ -27,11 +22,7 @@
flake-utils.lib.eachDefaultSystem (system: let flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
craneLib = crane.lib.${system}; rs-toolchain = with fenix.packages.${system}; combine [stable.toolchain];
rs-toolchain = with fenix.packages.${system};
combine [
complete.toolchain
];
in { in {
devShells.default = pkgs.mkShell rec { devShells.default = pkgs.mkShell rec {
buildInputs = with pkgs; [ buildInputs = with pkgs; [