Skip to content

Commit

Permalink
runtime: use functions from mem_bsd.go on Darwin
Browse files Browse the repository at this point in the history
The implementations of the functions in mem_darwin.go is identical to
the ones defined in mem_bsd.go for all other BSD-like GOOSes. Also use
them on Darwin.

Change-Id: Ie7c170c1a50666475e79599471081cd85f0837ad
Reviewed-on: https://go-review.googlesource.com/134875
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
  • Loading branch information
tklauser committed Sep 12, 2018
1 parent c56dcd5 commit b07f60b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
2 changes: 1 addition & 1 deletion src/runtime/mem_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build dragonfly freebsd nacl netbsd openbsd solaris
// +build darwin dragonfly freebsd nacl netbsd openbsd solaris

package runtime

Expand Down
62 changes: 0 additions & 62 deletions src/runtime/mem_darwin.go

This file was deleted.

0 comments on commit b07f60b

Please sign in to comment.