Skip to content

Commit

Permalink
Add missing field to struct literal
Browse files Browse the repository at this point in the history
  • Loading branch information
mystor authored and luser committed Feb 8, 2019
1 parent 4583ce1 commit bccb383
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compiler/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ impl<T: CommandCreatorSync, I: CCompilerImpl> Compiler<T> for CCompiler<I> {
fn kind(&self) -> CompilerKind { CompilerKind::C(self.compiler.kind()) }
#[cfg(feature = "dist-client")]
fn get_toolchain_packager(&self) -> Box<pkg::ToolchainPackager> {
Box::new(CToolchainPackager { executable: self.executable.clone() })
Box::new(CToolchainPackager {
executable: self.executable.clone(),
kind: self.compiler.kind(),
})
}
fn parse_arguments(&self,
arguments: &[OsString],
Expand Down

0 comments on commit bccb383

Please sign in to comment.