Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 6, 2024
1 parent 7bf4eeb commit 0b35f71
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
overlays = [ (import inputs.rust-overlay) ];
};

rustToolchain = pkgs.rust-bin.nightly."2024-01-29".minimal.override {
rustToolchain = pkgs.rust-bin.stable."1.74.1".minimal.override {
# Set the build targets supported by the toolchain,
# wasm32-unknown-unknown is required for trunk.
targets = [ "wasm32-unknown-unknown" ];
Expand Down
6 changes: 3 additions & 3 deletions nix/fixture/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cargo-features = ["trim-paths"]
# cargo-features = ["trim-paths"]

[workspace]
members = ["zome"]
Expand All @@ -12,5 +12,5 @@ serde = "1"

[profile.release]
opt-level = "z"
trim-paths = true
remap-debuginfo = true
# trim-paths = true
# remap-debuginfo = true
14 changes: 7 additions & 7 deletions nix/fixture/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/zome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let
doCheck = false;
src = craneLib.cleanCargoSource (craneLib.path workspacePath);
CARGO_BUILD_TARGET = "wasm32-unknown-unknown";
CARGO_BUILD_RUSTFLAGS = "";
# CARGO_BUILD_RUSTFLAGS = "";
};

wasmDeps = craneLib.buildDepsOnly (commonArgs // {
Expand Down

0 comments on commit 0b35f71

Please sign in to comment.