Skip to content

Commit

Permalink
add flake.nix and enable dependency locking
Browse files Browse the repository at this point in the history
  • Loading branch information
keinsell committed Jan 25, 2025
1 parent 9c8dfbf commit bb74916
Show file tree
Hide file tree
Showing 8 changed files with 5,233 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[build]
rustflags = [
"-Z", "threads=8",
"-C", "link-arg=-fuse-ld=mold",
"-C", "target-cpu=native", "-Clink-arg=-fuse-ld=mold", "-Zthreads=32",
]

[unstable]
codegen-backend = true

[profile.dev]
codegen-backend = "cranelift"
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,4 @@ devenv.local.nix
# Enable persistance of database defs
!.idea/dataSources.xml
/debug.log
!Cargo.lock
Loading

0 comments on commit bb74916

Please sign in to comment.