Source file src/runtime/rss_stub.go

     1  // Copyright 2026 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !linux && !darwin
     6  
     7  package runtime
     8  
     9  func sysRSSInit() {}
    10  
    11  // sysRSS is unavailable on this platform.
    12  func sysRSS() (rss, shared uint64, hasShared bool) { return 0, 0, false }
    13  

View as plain text