The GHC.Stats module seems to have been refactored in GHC 8.2.1, so we now get a bunch of warnings of the following type when compiling System.Metrics:
System/Metrics.hs:414:55: warning: [-Wdeprecations]
In the use of ‘bytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
414 | [ ("rts.gc.bytes_allocated" , Counter . Stats.bytesAllocated)
| ^^^^^^^^^^^^^^^^^^^^
See this gist for the full log. Looks like we'll have to write a compatibility shim to support future GHC versions.
The
GHC.Statsmodule seems to have been refactored in GHC 8.2.1, so we now get a bunch of warnings of the following type when compilingSystem.Metrics:See this gist for the full log. Looks like we'll have to write a compatibility shim to support future GHC versions.