Skip to content

Commit

Permalink
feat(ops): convert from pure Nix to Flox
Browse files Browse the repository at this point in the history
use mold as linker on Linux
  • Loading branch information
jhult committed Nov 18, 2024
1 parent 458e3f3 commit 4ae6ff3
Show file tree
Hide file tree
Showing 9 changed files with 2,544 additions and 194 deletions.
8 changes: 8 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
# https://github.com/rust-lang/rust-analyzer/issues/12688
[build]
rustflags = ["--cfg=web_sys_unstable_apis"]

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

[target.aarch64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
4 changes: 4 additions & 0 deletions .flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
run/
cache/
lib/
log/
4 changes: 4 additions & 0 deletions .flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "mina-block-explorer",
"version": 1
}
Loading

0 comments on commit 4ae6ff3

Please sign in to comment.