File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,8 @@ impl SpirvBuilder {
352
352
}
353
353
354
354
/// Sets the path of the "target specification" file.
355
- ///
356
- /// For more info on "target specification" see
355
+ ///
356
+ /// For more info on "target specification" see
357
357
/// [this RFC](https://rust-lang.github.io/rfcs/0131-target-specification.html).
358
358
#[ must_use]
359
359
pub fn target_spec ( mut self , p : impl AsRef < Path > ) -> Self {
@@ -806,13 +806,13 @@ fn invoke_rustc(builder: &SpirvBuilder) -> Result<PathBuf, SpirvBuilderError> {
806
806
807
807
// FIXME(eddyb) consider moving `target-specs` into `rustc_codegen_spirv_types`.
808
808
// FIXME(eddyb) consider the `RUST_TARGET_PATH` env var alternative.
809
- cargo. arg ( "--target" ) . arg (
810
- builder. path_to_target_spec . clone ( ) . unwrap_or_else ( || {
809
+ cargo
810
+ . arg ( "--target" )
811
+ . arg ( builder. path_to_target_spec . clone ( ) . unwrap_or_else ( || {
811
812
PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) )
812
813
. join ( "target-specs" )
813
814
. join ( format ! ( "{}.json" , builder. target) )
814
- } ) ,
815
- ) ;
815
+ } ) ) ;
816
816
817
817
if let Some ( default_features) = builder. shader_crate_features . default_features {
818
818
if !default_features {
You can’t perform that action at this time.
0 commit comments