[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 11 commits: mingw: Extract zst toolchain archives

Marge Bot gitlab at gitlab.haskell.org
Fri Oct 16 08:10:06 UTC 2020



 Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
1bb0512f by Ben Gamari at 2020-10-16T00:15:31-04:00
mingw: Extract zst toolchain archives

This should have been done when the toolchain was bumped.

- - - - -
bf7c5b6d by Ben Gamari at 2020-10-16T00:15:31-04:00
base: Reintroduce necessary LANGUAGE pragmas

These were incorrectly removed in a recent cleanup commit.

- - - - -
c6b4be4b by Ben Gamari at 2020-10-16T00:15:31-04:00
testsuite: Sort metrics by metric type

Closes #18838.

- - - - -
c7989c93 by Ben Gamari at 2020-10-16T00:15:31-04:00
testsuite: Account for -Wnoncanonical-monoid-instances changes on Windows

- - - - -
330a5433 by Ben Gamari at 2020-10-16T00:15:31-04:00
rts: Add __mingw_vfprintf to RtsSymbols.c

Following the model of the other printf symbols. See Note [Symbols for
MinGW's printf].

- - - - -
c4a69f37 by Ben Gamari at 2020-10-16T00:15:31-04:00
gitlab-ci: Remove allow_failure from Windows jobs

- - - - -
9a9679db by Ben Gamari at 2020-10-16T00:15:31-04:00
gitlab-ci: Fix Hadrian bindist names

- - - - -
d7c6d53f by John Ericson at 2020-10-16T04:09:50-04:00
Skip type family defaults with hs-boot and hsig files

Works around #17190, possible resolution for #17224. New design is is
according to accepted [GHC Propoal 320].

Instances in signatures currently unconditionally opt into associated
family defaults if no explicit instance is given. This is bad for two
reasons:

  1. It constrains possible instantiations to use the default, rather
  than possibly define the associated family differently.

  2. It breaks compilation as type families are unsupported in
  signatures.

This PR simply turns off the filling in of defaults in those cases.
Additionally, it squelches a missing definition warning for hs-boot too
that was only squelched for hsig before.

The downsides are:

  1. There is no way to opt into the default, other than copying its
  definition.

  2. If we fixed type classes in signatures, and wanted instances to
  have to explicitly *out of* rather than into the default, that would
  now be a breaking change.

The change that is most unambiguously goood is harmonizing the warning
squelching between hs-boot or hsig. Maybe they should have the warning
(opt out of default) maybe they shouldn't (opt in to default), but
surely it should be the same for both.

Add hs-boot version of a backpack test regarding class-specified
defaults in instances that appear in an hs-boot file.

The metrics increase is very slight and makes no sense --- at least no
one has figured anything out after this languishing for a while, so I'm
just going to accept it.

Metric Increase:
  T10421a

[GHC proposal 320]: https://github.com/ghc-proposals/ghc-proposals/pull/320

- - - - -
4aba25a7 by Dylan Yudaken at 2020-10-16T04:09:55-04:00
When using rts_setInCallCapability, lock incall threads

This diff makes sure that incall threads, when using `rts_setInCallCapability`, will be created as locked.
If the thread is not locked, the thread might end up being scheduled to a different capability.
While this is mentioned in the docs for `rts_setInCallCapability,`, it makes the method significantly less useful as there is no guarantees on the capability being used.

This commit also adds a test to make sure things stay on the correct capability.

- - - - -
1efe50a7 by DylanZA at 2020-10-16T04:09:55-04:00
Apply suggestion to testsuite/tests/ffi/should_run/all.T
- - - - -
23e05f11 by Hécate at 2020-10-16T04:09:58-04:00
Linting corrections

* Bring back LANGUAGE pragmas in GHC.IO.Handle.Lock.Windows
* Exclude some modules that are wrongfully reported

- - - - -


30 changed files:

- .gitlab-ci.yml
- .gitlab/ci.sh
- compiler/GHC/HsToCore/Foreign/Decl.hs
- compiler/GHC/Tc/TyCl/Class.hs
- compiler/GHC/Tc/TyCl/Instance.hs
- configure.ac
- includes/RtsAPI.h
- libraries/base/.hlint.yaml
- libraries/base/GHC/IO/Handle/Lock/Windows.hsc
- rts/RtsAPI.c
- rts/RtsSymbols.c
- testsuite/driver/runtests.py
- testsuite/tests/backpack/should_compile/all.T
- + testsuite/tests/backpack/should_compile/bkp57.bkp
- + testsuite/tests/backpack/should_compile/bkp57.stderr
- + testsuite/tests/backpack/should_compile/bkp58.bkp
- + testsuite/tests/backpack/should_compile/bkp58.stderr
- + testsuite/tests/backpack/should_compile/bkp59.bkp
- + testsuite/tests/backpack/should_compile/bkp59.stderr
- + testsuite/tests/backpack/should_compile/bkp60.bkp
- + testsuite/tests/backpack/should_compile/bkp60.stderr
- + testsuite/tests/ffi/should_run/IncallAffinity.hs
- + testsuite/tests/ffi/should_run/IncallAffinity_c.c
- testsuite/tests/ffi/should_run/all.T
- testsuite/tests/ghci/scripts/T9293.stdout-mingw32
- testsuite/tests/ghci/scripts/ghci024.stdout-mingw32
- testsuite/tests/ghci/scripts/ghci057.stdout-mingw32
- + testsuite/tests/typecheck/should_compile/ClassDefaultInHsBoot.hs
- + testsuite/tests/typecheck/should_compile/ClassDefaultInHsBootA1.hs
- + testsuite/tests/typecheck/should_compile/ClassDefaultInHsBootA2.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/73b41ff250c6fdf00c0fe74308f9bdf3c2303e92...23e05f115e0f687a08252d579d63bf33d6662515

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/73b41ff250c6fdf00c0fe74308f9bdf3c2303e92...23e05f115e0f687a08252d579d63bf33d6662515
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201016/a48e1afd/attachment.html>


More information about the ghc-commits mailing list