Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
feb79c4b
Commit
feb79c4b
authored
Oct 08, 2016
by
Mikhail Glushenkov
Browse files
GHCJS.libAbiHash: exclude trailing newline.
Already fixed in the parent module in
20e35704
. Fixes #3915.
parent
4fd559ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/GHCJS.hs
View file @
feb79c4b
...
...
@@ -790,8 +790,9 @@ libAbiHash verbosity _pkg_descr lbi lib clbi = do
else
error
"libAbiHash: Can't find an enabled library way"
--
(
ghcjsProg
,
_
)
<-
requireProgram
verbosity
ghcjsProgram
(
withPrograms
lbi
)
getProgramInvocationOutput
verbosity
(
ghcInvocation
ghcjsProg
comp
platform
ghcArgs
)
hash
<-
getProgramInvocationOutput
verbosity
(
ghcInvocation
ghcjsProg
comp
platform
ghcArgs
)
return
(
takeWhile
(
not
.
isSpace
)
hash
)
adjustExts
::
String
->
String
->
GhcOptions
->
GhcOptions
adjustExts
hiSuf
objSuf
opts
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment