hare

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

commit 2f4bde9b99abd2bedeebaf01989a9abb1e58d158
parent bcc845b890e4dbb3f56ee75a8f519e44e26d425b
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  1 Jan 2024 11:34:06 +0100

cmd/hare: fix cross-compiling qbe arch

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

Diffstat:
Mcmd/hare/build.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/hare/build.ha b/cmd/hare/build.ha @@ -59,6 +59,7 @@ fn build(name: str, cmd: *getopt::command) (void | error) = { switch (opt.0) { case 'a' => arch = get_arch(opt.1)?; + ctx.arch = arch.qbe_name; case 'D' => let buf = memio::fixed(strings::toutf8(opt.1)); let sc = bufio::newscanner(&buf, len(opt.1));