{
	"goos": "linux",
	"goarch": "arm",
	"build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
	"gc": "conservative",
	"linker": "ld.lld",
	"rtlib": "compiler-rt",
	"libc": "picolibc",
	"cflags": [
		"-Werror",
		"-mno-relax",
		"-fno-exceptions", "-fno-unwind-tables",
		"-ffunction-sections", "-fdata-sections"
	],
	"ldflags": [
		"--gc-sections"
	],
	"extra-files": [
		"src/device/riscv/start.S",
		"src/internal/task/task_stack_tinygoriscv.S",
		"src/runtime/gc_riscv.S",
		"src/device/riscv/handleinterrupt.S"
	],
	"gdb": ["riscv64-unknown-elf-gdb"]
}
