hare

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

commit 59bfb3b273773090ed6b7327cfd4994c1b35ca98
parent 5b7408316785b6426123bae399d16328b3cb6713
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 17 Apr 2022 17:09:13 +0200

crypto::blowfish: remove unused dependencies

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mcrypto/blowfish/+test.ha | 3---
Mscripts/gen-stdlib | 4+---
Mstdlib.mk | 2+-
3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/crypto/blowfish/+test.ha b/crypto/blowfish/+test.ha @@ -1,8 +1,5 @@ use bytes; use crypto::cipher; -use encoding::hex; -use fmt; -use os; const key_vectors: [_][8]u8 = [ [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib @@ -307,12 +307,10 @@ crypto_blowfish() { if [ $testing -eq 0 ] then gensrcs_crypto_blowfish - gen_ssa crypto::blowfish bytes crypto::cipher endian else gensrcs_crypto_blowfish +test.ha - gen_ssa crypto::blowfish bytes crypto::cipher endian \ - os encoding::hex fmt fi + gen_ssa crypto::blowfish bytes crypto::cipher endian } crypto_chacha() { diff --git a/stdlib.mk b/stdlib.mk @@ -2830,7 +2830,7 @@ testlib_crypto_blowfish_any_srcs= \ $(STDLIB)/crypto/blowfish/const.ha \ $(STDLIB)/crypto/blowfish/+test.ha -$(TESTCACHE)/crypto/blowfish/crypto_blowfish-any.ssa: $(testlib_crypto_blowfish_any_srcs) $(testlib_rt) $(testlib_bytes_$(PLATFORM)) $(testlib_crypto_cipher_$(PLATFORM)) $(testlib_endian_$(PLATFORM)) $(testlib_os_$(PLATFORM)) $(testlib_encoding_hex_$(PLATFORM)) $(testlib_fmt_$(PLATFORM)) +$(TESTCACHE)/crypto/blowfish/crypto_blowfish-any.ssa: $(testlib_crypto_blowfish_any_srcs) $(testlib_rt) $(testlib_bytes_$(PLATFORM)) $(testlib_crypto_cipher_$(PLATFORM)) $(testlib_endian_$(PLATFORM)) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/crypto/blowfish @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Ncrypto::blowfish \