Skip to content

Commit

Permalink
nix: Restore mistakenly dropped instances of release profile usage
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Jan 6, 2024
1 parent d872e79 commit 0740758
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hacking/nix/scope/world/capdl/sel4-capdl-initializer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ mkTask {

rootCrate = crates.sel4-capdl-initializer;

release = true;

rustTargetInfo = seL4RustTargetInfoWithConfig { minimal = true; };

# release = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ let
pds = {
pl011-driver = mkPD rec {
rootCrate = crates.banscii-pl011-driver;
release = true;
};
assistant = mkPD rec {
rootCrate = crates.banscii-assistant;
release = true;
rustTargetInfo = seL4RustTargetInfoWithConfig { microkit = true; minimal = false; };
};
artist = mkPD rec {
rootCrate = crates.banscii-artist;
release = true;
extraProfile = {
# For RSA key generation
build-override = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ let
pds = {
http-server = mkPD {
rootCrate = crates.microkit-http-server-example-server;
release = true;
# layers = [
# crateUtils.defaultIntermediateLayer
# {
Expand All @@ -154,14 +155,17 @@ let
};
sp804-driver = mkPD {
rootCrate = crates.microkit-http-server-example-sp804-driver;
release = true;
inherit rustTargetInfo;
};
virtio-net-driver = mkPD {
rootCrate = crates.microkit-http-server-example-virtio-net-driver;
release = true;
inherit rustTargetInfo;
};
virtio-blk-driver = mkPD {
rootCrate = crates.microkit-http-server-example-virtio-blk-driver;
release = true;
inherit rustTargetInfo;
};
};
Expand Down

0 comments on commit 0740758

Please sign in to comment.