mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
syscall: remove some dead code
Not sure why it's here but it's not referenced anywhere.
This commit is contained in:
committed by
Ron Evans
parent
87a8aafc4f
commit
2920492e0a
@@ -2,7 +2,6 @@ package syscall
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"sync/atomic"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -18,11 +17,6 @@ type Rlimit struct {
|
|||||||
Max uint64
|
Max uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
// origRlimitNofile, if not {0, 0}, is the original soft RLIMIT_NOFILE.
|
|
||||||
// When we can assume that we are bootstrapping with Go 1.19,
|
|
||||||
// this can be atomic.Pointer[Rlimit].
|
|
||||||
var origRlimitNofile atomic.Value // of Rlimit
|
|
||||||
|
|
||||||
func Setrlimit(resource int, rlim *Rlimit) error {
|
func Setrlimit(resource int, rlim *Rlimit) error {
|
||||||
return errors.New("Setrlimit not implemented")
|
return errors.New("Setrlimit not implemented")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user