nyom: back to unstable :3

This commit is contained in:
Schrottkatze 2025-04-04 03:29:35 +02:00
parent 3ae4843db4
commit a4419e7abc
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
4 changed files with 29 additions and 19 deletions

View file

@ -1,6 +1,14 @@
[target.x86_64-unknown-linux-gnu]
# linker = "clang"
# rustflags = [
# "-C", "link-arg=-fuse-ld=mold",
# ]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
# (Nightly) Make the current crate share its generic instantiations
"-Zshare-generics=y",
]
[unstable]
codegen-backend = true
[profile."*"]
codegen-backend = "llvm"

18
flake.lock generated
View file

@ -8,11 +8,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1732257345,
"narHash": "sha256-YetzCpGzm7RnSHIUhSqljv3iLOGdg/XufbUvMOrC7tg=",
"lastModified": 1742452566,
"narHash": "sha256-sVuLDQ2UIWfXUBbctzrZrXM2X05YjX08K7XHMztt36E=",
"owner": "nix-community",
"repo": "fenix",
"rev": "3b89d5df39afc6ef3a8575fa92d8fa10ec68c95f",
"rev": "7d9ba794daf5e8cc7ee728859bc688d8e26d5f06",
"type": "github"
},
"original": {
@ -41,11 +41,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1731890469,
"narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
"lastModified": 1743568003,
"narHash": "sha256-ZID5T65E8ruHqWRcdvZLsczWDOAWIE7om+vQOREwiX0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5083ec887760adfe12af64830a66807423a859a7",
"rev": "b7ba7f9f45c5cd0d8625e9e217c28f8eb6a19a76",
"type": "github"
},
"original": {
@ -65,11 +65,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1732050317,
"narHash": "sha256-G5LUEOC4kvB/Xbkglv0Noi04HnCfryur7dVjzlHkgpI=",
"lastModified": 1742296961,
"narHash": "sha256-gCpvEQOrugHWLimD1wTFOJHagnSEP6VYBDspq96Idu0=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "c0bbbb3e5d7d1d1d60308c8270bfd5b250032bb4",
"rev": "15d87419f1a123d8f888d608129c3ce3ff8f13d4",
"type": "github"
},
"original": {

View file

@ -22,11 +22,13 @@
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
rs-toolchain = with fenix.packages.${system}; combine [
stable.toolchain
targets.wasm32-unknown-unknown.stable.rust-src
targets.x86_64-pc-windows-gnu.stable.rust-src
];
rs-toolchain = with fenix.packages.${system};
combine [
complete.toolchain
# stable.toolchain
# targets.wasm32-unknown-unknown.stable.rust-src
# targets.x86_64-pc-windows-gnu.stable.rust-src
];
in {
devShells.default = pkgs.mkShell rec {
buildInputs = with pkgs; [

View file

@ -165,7 +165,7 @@ pub(super) fn import_text_world(
(collider, fixed),
);
}
println!("spawned {possible_block:?} at {x}, {y}");
// println!("spawned {possible_block:?} at {x}, {y}");
i += len;
continue 'a;