File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ fn load_config_table(config: &Config, prefix: &str) -> CargoResult<TargetConfig>
111111 // because it causes serde to use `deserialize_map` which means the config
112112 // deserializer does not know which keys to deserialize, which means
113113 // environment variables would not work.
114- let runner: OptValue < PathAndArgs > = config. get ( & format ! ( "{}.runner" , prefix ) ) ?;
115- let rustflags: OptValue < StringList > = config. get ( & format ! ( "{}.rustflags" , prefix ) ) ?;
116- let rustdocflags: OptValue < StringList > = config. get ( & format ! ( "{}.rustdocflags" , prefix ) ) ?;
117- let linker: OptValue < ConfigRelativePath > = config. get ( & format ! ( "{}.linker" , prefix ) ) ?;
114+ let runner: OptValue < PathAndArgs > = config. get ( & format ! ( "{prefix }.runner" ) ) ?;
115+ let rustflags: OptValue < StringList > = config. get ( & format ! ( "{prefix }.rustflags" ) ) ?;
116+ let rustdocflags: OptValue < StringList > = config. get ( & format ! ( "{prefix }.rustdocflags" ) ) ?;
117+ let linker: OptValue < ConfigRelativePath > = config. get ( & format ! ( "{prefix }.linker" ) ) ?;
118118 // Links do not support environment variables.
119119 let target_key = ConfigKey :: from_str ( prefix) ;
120120 let links_overrides = match config. get_table ( & target_key) ? {
You can’t perform that action at this time.
0 commit comments