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 bb02c8a commit 7bf4eeb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 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.latest.minimal.override {
rustToolchain = pkgs.rust-bin.nightly."2024-01-29".minimal.override {
# Set the build targets supported by the toolchain,
# wasm32-unknown-unknown is required for trunk.
targets = [ "wasm32-unknown-unknown" ];
Expand Down
7 changes: 7 additions & 0 deletions nix/fixture/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cargo-features = ["trim-paths"]

[workspace]
members = ["zome"]
resolver = "2"
Expand All @@ -7,3 +9,8 @@ hdi = "0.4.0-beta-dev"
hdk = "0.3.0-beta-dev"
holochain = "0.3.0-beta-dev"
serde = "1"

[profile.release]
opt-level = "z"
trim-paths = true
remap-debuginfo = true
2 changes: 1 addition & 1 deletion nix/fixture/flake.lock

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

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

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

0 comments on commit 7bf4eeb

Please sign in to comment.