idle_trim_none.mx raw

   1  //:build !linux || baremetal
   2  
   3  package runtime
   4  
   5  // idleTrimPages has nothing to hand back without a page-release syscall: the
   6  // wasm heap belongs to the host, and a baremetal arena is the whole machine.
   7  func idleTrimPages(budget int32) (n int32) {
   8  	return 0
   9  }
  10