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] [target.x86_64-unknown-linux-gnu]
# 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."*"]
codegen-backend = "llvm"

18
flake.lock generated
View file

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

View file

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

View file

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