File tree Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 1- cargo-features = [" profile-rustflags" ]
2-
31[package ]
42name = " bootloader"
53description = " An experimental x86_64 bootloader that works on both BIOS and UEFI systems."
@@ -101,23 +99,6 @@ inherits = "release"
10199debug = true
102100overflow-checks = true
103101
104- [profile .lto ]
105- inherits = " release"
106- lto = true
107-
108- [profile .test .package .test_kernel_higher_half ]
109- rustflags = [
110- " -C" ,
111- " link-args=--image-base 0xFFFF800000000000" ,
112- " -C" ,
113- " relocation-model=pic" ,
114- " -C" ,
115- " code-model=large" ,
116- ]
117-
118- [profile .test .package .test_kernel_min_stack ]
119- opt-level = 2
120-
121102[build-dependencies ]
122103llvm-tools = " 0.1.1"
123104
Original file line number Diff line number Diff line change 1+ cargo-features = [" profile-rustflags" ]
2+
13[workspace ]
24resolver = " 2"
35members = [
@@ -11,3 +13,26 @@ members = [
1113 " lower_memory_free" ,
1214 " write_usable_memory" ,
1315]
16+
17+ [profile .release ]
18+ panic = " abort"
19+ lto = false
20+ debug = true
21+ overflow-checks = true
22+
23+ [profile .lto ]
24+ inherits = " release"
25+ lto = true
26+
27+ [profile .test .package .test_kernel_higher_half ]
28+ rustflags = [
29+ " -C" ,
30+ " link-args=--image-base 0xFFFF800000000000" ,
31+ " -C" ,
32+ " relocation-model=pic" ,
33+ " -C" ,
34+ " code-model=large" ,
35+ ]
36+
37+ [profile .test .package .test_kernel_min_stack ]
38+ opt-level = 2
You can’t perform that action at this time.
0 commit comments