From 06bf8101debe879447d0ef3a7a5b84cb11fa5acf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 2 Jun 2024 11:58:29 +0200 Subject: executor: remove noshmem mode All OSes we have now support shmem. Support for Fuchia/Starnix/Windows wasn't implemented, but generally they support shared memory. Remove all of the complexity and code associated with noshmem mode. If/when we revive these OSes, it's easier to properly implement shmem mode for them. --- pkg/compiler/compiler_test.go | 2 +- pkg/compiler/testdata/all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/compiler') diff --git a/pkg/compiler/compiler_test.go b/pkg/compiler/compiler_test.go index 51bbbdf65..f43b2ccb3 100644 --- a/pkg/compiler/compiler_test.go +++ b/pkg/compiler/compiler_test.go @@ -67,7 +67,7 @@ func TestData(t *testing.T) { // E.g. if we failed to parse descriptions, we won't run type checking at all. // Because of this we have one file per phase. for _, name := range []string{"errors.txt", "errors2.txt", "errors3.txt", "warnings.txt", "all.txt"} { - for _, arch := range []string{targets.TestArch32Shmem, targets.TestArch64} { + for _, arch := range []string{targets.TestArch32, targets.TestArch64} { name, arch := name, arch t.Run(fmt.Sprintf("%v/%v", name, arch), func(t *testing.T) { t.Parallel() diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt index d1baef2f9..38511c2c7 100644 --- a/pkg/compiler/testdata/all.txt +++ b/pkg/compiler/testdata/all.txt @@ -2,7 +2,7 @@ # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. meta noextract -meta arches["32_shmem", "32_fork_shmem", "64", "64_fork"] +meta arches["32", "32_fork", "64", "64_fork"] foo_0(a int8) foo_1(a int8[C1:C2]) -- cgit mrf-deployment