Skip to content

Commit f3d34dc

Browse files
Fix tidy errors in cg_gcc
1 parent 04c5d1e commit f3d34dc

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

compiler/rustc_codegen_gcc/src/intrinsic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
214214
&args.iter().map(|arg| arg.immediate()).collect::<Vec<_>>(),
215215
)
216216
}
217-
// TODO(antoyo): We can probably remove these and use the fallback intrinsic implementation.
217+
// FIXME(antoyo): We can probably remove these and use the fallback intrinsic implementation.
218218
sym::minimumf32 | sym::minimumf64 | sym::maximumf32 | sym::maximumf64 => {
219219
let (ty, func_name) = match name {
220220
sym::minimumf32 => (self.cx.float_type, "fminimumf"),

compiler/rustc_codegen_gcc/tests/lang_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn compile_and_run_cmds(
1919
// Test command 2: run `tempdir/x`.
2020
if test_target.is_some() {
2121
let mut env_path = std::env::var("PATH").unwrap_or_default();
22-
// TODO(antoyo): find a better way to add the PATH necessary locally.
22+
// FIXME(antoyo): find a better way to add the PATH necessary locally.
2323
env_path = format!("/opt/m68k-unknown-linux-gnu/bin:{}", env_path);
2424
compiler.env("PATH", env_path);
2525

@@ -112,7 +112,7 @@ fn build_test_runner(
112112

113113
println!("=== {test_kind} tests ===");
114114

115-
// TODO(antoyo): find a way to send this via a cli argument.
115+
// FIXME(antoyo): find a way to send this via a cli argument.
116116
let test_target = std::env::var("CG_GCC_TEST_TARGET").ok();
117117
let test_target_filter = test_target.clone();
118118

compiler/rustc_codegen_gcc/tests/run/core-float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Run-time:
44
// status: 0
55

6-
// TODO: remove these tests (extracted from libcore) when we run the libcore tests in the CI of the
6+
// FIXME: remove these tests (extracted from libcore) when we run the libcore tests in the CI of the
77
// Rust repo.
88

99
#![feature(core_intrinsics)]

0 commit comments

Comments
 (0)