forked from seL4/rust-sel4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.nix
More file actions
34 lines (32 loc) · 694 Bytes
/
Cargo.nix
File metadata and controls
34 lines (32 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#
{ mk, localCrates }:
mk {
package.name = "sel4-root-task";
dependencies = {
inherit (localCrates)
sel4
sel4-immediate-sync-once-cell
sel4-panicking-env
sel4-dlmalloc
sel4-sync
sel4-root-task-macros
;
sel4-panicking = localCrates.sel4-panicking // { features = [ "personality" "panic-handler" ]; };
sel4-runtime-common = localCrates.sel4-runtime-common // { features = [ "sel4" ]; };
};
features = {
full = [
"alloc"
];
alloc = [
"sel4-panicking/alloc"
];
single-threaded = [
"sel4/single-threaded"
];
};
}