Skip to content

combineObjectFiles: Error if the linker does not support -r #33

combineObjectFiles: Error if the linker does not support -r

combineObjectFiles: Error if the linker does not support -r #33

Triggered via push October 13, 2023 02:30
Status Failure
Total duration 2m 3s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
hlint
HLint failed with status: 1. Suggestion (1)
hlint: Cabal/src/Distribution/Simple/Program/Builtin.hs#L375
Suggestion in ldProgram in module Distribution.Simple.Program.Builtin: Use guards ▫︎ Found: "v = if \"-relocatable\" `isInfixOf` ldHelpOutput then\n \"YES\"\n else\n if \"ld64:\" `isPrefixOf` ldHelpOutput then \"YES\" else \"NO\"" ▫︎ Perhaps: "v | \"-relocatable\" `isInfixOf` ldHelpOutput = \"YES\"\n | \"ld64:\" `isPrefixOf` ldHelpOutput = \"YES\"\n | otherwise = \"NO\""