File tree 1 file changed +0
-6
lines changed 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,6 @@ impl CompilerCommand {
139
139
/// Adds the --no-standard-import flag, indicating that the default import paths of
140
140
/// /usr/include and /usr/local/include should not bet included.
141
141
pub fn no_standard_import ( & mut self ) -> & mut CompilerCommand {
142
- assert ! ( !self . no_standard_import, "no_standard_import() must only be called once" ) ;
143
-
144
142
self . no_standard_import = true ;
145
143
self
146
144
}
@@ -150,8 +148,6 @@ impl CompilerCommand {
150
148
where
151
149
P : AsRef < Path > ,
152
150
{
153
- assert ! ( self . executable_path. is_none( ) , "output_path() must only be called once" ) ;
154
-
155
151
self . output_path = Some ( path. as_ref ( ) . to_path_buf ( ) ) ;
156
152
self
157
153
}
@@ -162,8 +158,6 @@ impl CompilerCommand {
162
158
where
163
159
P : AsRef < Path >
164
160
{
165
- assert ! ( self . executable_path. is_none( ) , "capnp_executable() must only be called once" ) ;
166
-
167
161
self . executable_path = Some ( path. as_ref ( ) . to_path_buf ( ) ) ;
168
162
self
169
163
}
You can’t perform that action at this time.
0 commit comments