summaryrefslogtreecommitdiff
path: root/distrib/cross-port
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-05-15 14:21:04 +0200
committerAndreas Klebinger <klebinger.andreas@gmx.at>2020-05-16 08:16:53 -0400
commit466a61c0f42f1e8b340c05fb03abde289fbf942c (patch)
tree88390f370eab1bf0db853a7daae60c5a31c34cf0 /distrib/cross-port
parent568d7279a80cf945271f0659f11a94eea3f1433d (diff)
downloadhaskell-wip/andreask/iface_magic_numbers.tar.gz
Don't variable-length encode magic iface constant.wip/andreask/iface_magic_numbers
We changed to use variable length encodings for many types by default, including Word32. This makes sense for numbers but not when Word32 is meant to represent four bytes. I added a FixedLengthEncoding newtype to Binary who's instances interpret their argument as a collection of bytes instead of a number. We then use this when writing/reading magic numbers to the iface file. I also took the libery to remove the dummy iface field. This fixes #18180.
Diffstat (limited to 'distrib/cross-port')
0 files changed, 0 insertions, 0 deletions