github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/rand_norng.go (about)

     1  //go:build baremetal && !(nrf || (stm32 && !(stm32f103 || stm32l0x1)) || (sam && atsamd51) || (sam && atsame5x) || esp32c3)
     2  
     3  package runtime
     4  
     5  func hardwareRand() (n uint64, ok bool) {
     6  	return 0, false // no RNG available
     7  }