File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ pub enum Feature {
49
49
// `uefi` features.
50
50
Alloc ,
51
51
GlobalAllocator ,
52
+ LogDebugcon ,
52
53
Logger ,
53
54
Unstable ,
54
55
PanicHandler ,
@@ -68,6 +69,7 @@ impl Feature {
68
69
match self {
69
70
Self :: Alloc => "alloc" ,
70
71
Self :: GlobalAllocator => "global_allocator" ,
72
+ Self :: LogDebugcon => "log-debugcon" ,
71
73
Self :: Logger => "logger" ,
72
74
Self :: Unstable => "unstable" ,
73
75
Self :: PanicHandler => "panic_handler" ,
@@ -88,6 +90,7 @@ impl Feature {
88
90
Package :: Uefi => vec ! [
89
91
Self :: Alloc ,
90
92
Self :: GlobalAllocator ,
93
+ Self :: LogDebugcon ,
91
94
Self :: Logger ,
92
95
Self :: Unstable ,
93
96
Self :: PanicHandler ,
@@ -112,7 +115,7 @@ impl Feature {
112
115
/// - `include_unstable` - add all functionality behind the `unstable` feature
113
116
/// - `runtime_features` - add all functionality that effect the runtime of Rust
114
117
pub fn more_code ( include_unstable : bool , runtime_features : bool ) -> Vec < Self > {
115
- let mut base_features = vec ! [ Self :: Alloc , Self :: Logger ] ;
118
+ let mut base_features = vec ! [ Self :: Alloc , Self :: Logger , Self :: LogDebugcon ] ;
116
119
if include_unstable {
117
120
base_features. extend ( [ Self :: Unstable ] )
118
121
}
@@ -293,6 +296,8 @@ impl Cargo {
293
296
cmd. arg ( sub_action) ;
294
297
}
295
298
299
+ cmd. arg ( "--no-default-features" ) ;
300
+
296
301
if self . release {
297
302
cmd. arg ( "--release" ) ;
298
303
}
You can’t perform that action at this time.
0 commit comments