File tree 2 files changed +25
-19
lines changed
2 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 1
- cargo-features = [" profile-rustflags" ]
2
-
3
1
[package ]
4
2
name = " bootloader"
5
3
description = " An experimental x86_64 bootloader that works on both BIOS and UEFI systems."
@@ -101,23 +99,6 @@ inherits = "release"
101
99
debug = true
102
100
overflow-checks = true
103
101
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
-
121
102
[build-dependencies ]
122
103
llvm-tools = " 0.1.1"
123
104
Original file line number Diff line number Diff line change
1
+ cargo-features = [" profile-rustflags" ]
2
+
1
3
[workspace ]
2
4
resolver = " 2"
3
5
members = [
@@ -11,3 +13,26 @@ members = [
11
13
" lower_memory_free" ,
12
14
" write_usable_memory" ,
13
15
]
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