Files
tinygo/src/runtime/rand_norng.go
T
2026-07-08 08:54:06 +02:00

8 lines
312 B
Go

//go:build baremetal && !(nrf || (stm32 && !(stm32f103 || stm32l0x1 || stm32g0 || stm32u0)) || (sam && atsamd51) || (sam && atsame5x) || esp32c3 || esp32s3 || tkey || (tinygo.riscv32 && virt) || rp2040 || rp2350)
package runtime
func hardwareRand() (n uint64, ok bool) {
return 0, false // no RNG available
}