hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b24ec40012b94f4c07e955ac3a7973b9ea4ec274
parent 273c35fde1f7addee39203b6fda868f1a91db941
Author: Kiëd Llaentenn <kiedtl@tilde.team>
Date:   Thu, 29 Apr 2021 20:03:05 +0000

hash::crc32: remove unused fmt import

Signed-off-by: Kiëd Llaentenn <kiedtl@tilde.team>

Diffstat:
Mhash/crc32/crc32.ha | 1-
Mscripts/gen-stdlib | 2+-
Mstdlib.mk | 4++--
3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/hash/crc32/crc32.ha b/hash/crc32/crc32.ha @@ -2,7 +2,6 @@ use endian; use hash; use io; use strings; -use fmt; // The size, in bytes, of a CRC-32 checksum. export def SIZE: size = 4; diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib @@ -458,7 +458,7 @@ hash_crc16() { hash_crc32() { gen_srcs hash::crc32 \ crc32.ha - gen_ssa hash::crc32 endian hash io strings fmt + gen_ssa hash::crc32 endian hash io strings } hash_crc64() { diff --git a/stdlib.mk b/stdlib.mk @@ -638,7 +638,7 @@ $(HARECACHE)/hash/crc16/hash_crc16.ssa: $(stdlib_hash_crc16_srcs) $(stdlib_rt) $ stdlib_hash_crc32_srcs= \ $(STDLIB)/hash/crc32/crc32.ha -$(HARECACHE)/hash/crc32/hash_crc32.ssa: $(stdlib_hash_crc32_srcs) $(stdlib_rt) $(stdlib_endian) $(stdlib_hash) $(stdlib_io) $(stdlib_strings) $(stdlib_fmt) +$(HARECACHE)/hash/crc32/hash_crc32.ssa: $(stdlib_hash_crc32_srcs) $(stdlib_rt) $(stdlib_endian) $(stdlib_hash) $(stdlib_io) $(stdlib_strings) @printf 'HAREC \t$@\n' @mkdir -p $(HARECACHE)/hash/crc32 @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nhash::crc32 \ @@ -1608,7 +1608,7 @@ $(TESTCACHE)/hash/crc16/hash_crc16.ssa: $(testlib_hash_crc16_srcs) $(testlib_rt) testlib_hash_crc32_srcs= \ $(STDLIB)/hash/crc32/crc32.ha -$(TESTCACHE)/hash/crc32/hash_crc32.ssa: $(testlib_hash_crc32_srcs) $(testlib_rt) $(testlib_endian) $(testlib_hash) $(testlib_io) $(testlib_strings) $(testlib_fmt) +$(TESTCACHE)/hash/crc32/hash_crc32.ssa: $(testlib_hash_crc32_srcs) $(testlib_rt) $(testlib_endian) $(testlib_hash) $(testlib_io) $(testlib_strings) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/hash/crc32 @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nhash::crc32 \