diff options
author | deadprogram <[email protected]> | 2024-12-17 17:31:21 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-12-18 17:48:55 +0100 |
commit | 0d13e61d0cbe7aa82678a6dec7dda0115db82397 (patch) | |
tree | 1a39d17ffdc970680f84a1164ea320aabdb9963a | |
parent | 5701bf81f30d06daa4bc093f716f496c16147e10 (diff) | |
download | tinygo-0d13e61d0cbe7aa82678a6dec7dda0115db82397.tar.gz tinygo-0d13e61d0cbe7aa82678a6dec7dda0115db82397.zip |
fix: add build tags to ensure that tkey target has stubs for runtime/interrupt package
Signed-off-by: deadprogram <[email protected]>
-rw-r--r-- | src/runtime/interrupt/interrupt_none.go | 2 | ||||
-rw-r--r-- | src/runtime/interrupt/interrupt_tinygoriscv.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/interrupt/interrupt_none.go b/src/runtime/interrupt/interrupt_none.go index 2f4aae6c8..ea8bdb68c 100644 --- a/src/runtime/interrupt/interrupt_none.go +++ b/src/runtime/interrupt/interrupt_none.go @@ -1,4 +1,4 @@ -//go:build !baremetal +//go:build !baremetal || tkey package interrupt diff --git a/src/runtime/interrupt/interrupt_tinygoriscv.go b/src/runtime/interrupt/interrupt_tinygoriscv.go index fd21afcda..558e67150 100644 --- a/src/runtime/interrupt/interrupt_tinygoriscv.go +++ b/src/runtime/interrupt/interrupt_tinygoriscv.go @@ -1,4 +1,4 @@ -//go:build tinygo.riscv +//go:build tinygo.riscv && !tkey package interrupt |