forked from seL4/rust-sel4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.nix
42 lines (40 loc) · 773 Bytes
/
Cargo.nix
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
35
36
37
38
39
40
41
42
#
# 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
sel4-panicking-env
sel4-dlmalloc
sel4-sync
sel4-root-task-macros
;
sel4-runtime-common = localCrates.sel4-runtime-common // { features = [ "tls" "start" ]; };
};
features = {
default = [
"unwinding"
];
full = [
"default"
"alloc"
];
unwinding = [
"sel4-panicking/unwinding"
"sel4-runtime-common/unwinding"
];
alloc = [
"sel4-panicking/alloc"
];
single-threaded = [
"sel4/single-threaded"
];
};
}