Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • testsuite/tests/ghci/linking/all.T
    ... ... @@ -106,6 +106,7 @@ def normalise_unload_wkr(s):
    106 106
         # the iserv binary, which GHC generates into a temporary directory.
    
    107 107
         # normalise_errmsg only knows how to normalise the compiler's own name.
    
    108 108
         s = re.sub(r'^ghc_tmp_\d+\.iserv:', 'ghc:', s, flags=re.M)
    
    109
    +    s = re.sub(r', you might consider using --optimistic-linking\n', '', s)
    
    109 110
         return s
    
    110 111
     
    
    111 112
     test('unload_wkr-throw',
    

  • testsuite/tests/ghci/linking/unload_wkr-throw-ext.stderr
    1
    -ghc: Failed to lookup symbol: unload_wkr_throw_missing_symbol, you might consider using --optimistic-linking
    
    2
    -
    
    1
    +ghc: Failed to lookup symbol: unload_wkr_throw_missing_symbol
    
    3 2
     ghc: Could not load Object Code UnloadWkrB.o.
    
    4 3
     
    
    5 4
     could not load dependencies for decls

  • testsuite/tests/ghci/linking/unload_wkr-throw.stderr
    1
    -ghc: Failed to lookup symbol: unload_wkr_throw_missing_symbol, you might consider using --optimistic-linking
    
    2
    -
    
    1
    +ghc: Failed to lookup symbol: unload_wkr_throw_missing_symbol
    
    3 2
     ghc: Could not load Object Code UnloadWkrB.o.
    
    4 3
     
    
    5 4
     could not load dependencies for decls