diff options
| author | Robert Zakrzewski <robert.zakrzewski1@stellantis.com> | 2024-05-24 08:05:57 +0200 |
|---|---|---|
| committer | Robert Zakrzewski <robert.zakrzewski1@stellantis.com> | 2024-06-21 16:12:05 +0200 |
| commit | 0dad11feb9cf34f41d883f49518f9bf812314d57 (patch) | |
| tree | bb1e765a8de87f4b833a9583c456c395eed55919 | |
| parent | b94cb8c01ccb1c027dc2840483afa45c6325fd2b (diff) | |
| download | rust-0dad11feb9cf34f41d883f49518f9bf812314d57.tar.gz rust-0dad11feb9cf34f41d883f49518f9bf812314d57.zip | |
Do not use target dependent Float32
fix formatting
| -rw-r--r-- | src/type_.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/type_.rs b/src/type_.rs index 36656c66a65..c65301495b1 100644 --- a/src/type_.rs +++ b/src/type_.rs @@ -137,9 +137,9 @@ impl<'gcc, 'tcx> BaseTypeMethods<'tcx> for CodegenCx<'gcc, 'tcx> { #[cfg(feature = "master")] fn type_f32(&self) -> Type<'gcc> { - if self.context.get_target_info().supports_target_dependent_type(CType::Float32) { - return self.context.new_c_type(CType::Float32); - } + // if self.context.get_target_info().supports_target_dependent_type(CType::Float32) { + // return self.context.new_c_type(CType::Float32); + // } self.float_type } |
