We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fda761 commit e64b49dCopy full SHA for e64b49d
src/librustpkg/util.rs
@@ -185,10 +185,6 @@ pub fn compile_input(context: &BuildContext,
185
let csysroot = context.sysroot();
186
debug!("compile_input's sysroot = {}", csysroot.display());
187
188
- let crate_type = match what {
189
- Lib => session::OutputDylib,
190
- Test | Bench | Main => session::OutputExecutable,
191
- };
192
let matches = getopts(debug_flags()
193
+ match what {
194
Lib => ~[~"--lib"],
@@ -230,7 +226,6 @@ pub fn compile_input(context: &BuildContext,
230
226
debug!("Output type = {:?}", output_type);
231
227
232
228
let options = @session::options {
233
- outputs: ~[crate_type],
234
229
optimize: opt,
235
test: what == Test || what == Bench,
236
maybe_sysroot: Some(sysroot_to_use),
0 commit comments