Skip to content

Commit

Permalink
Remove purego support
Browse files Browse the repository at this point in the history
  • Loading branch information
mcy committed Oct 11, 2024
1 parent a718294 commit 6fd8aad
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 46 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ clean: ## Delete intermediate build artifacts
test: build ## Run unit tests
$(GO) test -race -cover ./...
$(GO) test -tags protolegacy ./...
$(GO) test -tags purego ./...
cd internal/benchmarks && SKIP_DOWNLOAD_GOOGLEAPIS=true $(GO) test -race -cover ./...

.PHONY: benchmarks
Expand Down
4 changes: 0 additions & 4 deletions experimental/report/renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Protobuf-go no longer supports purego. This test depends on protobuf for
// decoding its inputs. Therefore, we disable it in purego mode.
//go:build !purego

package report_test

import (
Expand Down
6 changes: 0 additions & 6 deletions linker/pathkey_unsafe.go → linker/pathkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !appengine && !gopherjs && !purego
// +build !appengine,!gopherjs,!purego

// NB: other environments where unsafe is inappropriate should use "purego" build tag
// https://github.com/golang/go/issues/23172

package linker

import (
Expand Down
35 changes: 0 additions & 35 deletions linker/pathkey_no_unsafe.go

This file was deleted.

0 comments on commit 6fd8aad

Please sign in to comment.