Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/cmd/compile/internal/ssa/_gen/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module _gen
// N.B. cmd/... modules get special treatment, so avoid that prefix.
module compile/internal/ssa/_gen

go 1.24

Expand Down
3 changes: 2 additions & 1 deletion src/cmd/vet/testdata/rangeloop/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module rangeloop
// N.B. cmd/... modules get special treatment, so avoid that prefix.
module vet/testdata/rangeloop

go 1.21
3 changes: 2 additions & 1 deletion src/cmd/vet/testdata/stdversion/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module stdversion
// N.B. cmd/... modules get special treatment, so avoid that prefix.
module vet/testdata/stdversion

go 1.21
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/aes/_asm/ctr/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module crypto/aes/_asm/ctr
module crypto/internal/fips140/aes/_asm/ctr

go 1.25

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/aes/_asm/standard/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module crypto/aes/_asm/standard
module crypto/internal/fips140/aes/_asm/standard

go 1.24

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/aes/gcm/_asm/gcm/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module crypto/aes/_asm/gcm
module crypto/internal/fips140/aes/gcm/_asm/gcm

go 1.24

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/sha256/_asm/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module crypto/sha256/_asm
module crypto/internal/fips140/sha256/_asm

go 1.24

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/sha3/_asm/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module sha3/_asm
module crypto/internal/fips140/sha3/_asm

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/internal/fips140/sha512/_asm/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module crypto/sha512/_asm
module crypto/internal/fips140/sha512/_asm

go 1.24

Expand Down
6 changes: 6 additions & 0 deletions src/os/removeall_noat.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ func removeAll(path string) error {
return nil
}

// Consistency with Root.RemoveAll: Strip trailing /s from the path,
// so RemoveAll("not_a_directory/") succeeds.
for len(path) > 1 && IsPathSeparator(path[len(path)-1]) {
path = path[:len(path)-1]
}

// The rmdir system call permits removing "." on Plan 9,
// so we don't permit it to remain consistent with the
// "at" implementation of RemoveAll.
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/_mkmalloc/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module _mkmalloc
module runtime/_mkmalloc

go 1.26

Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module _gen
module simd/archsimd/_gen

go 1.25.0

Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/arm64/emit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"strings"

"_gen/unify"
"simd/archsimd/_gen/unify"
)

// asComment formats text as a comment
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/arm64/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package arm64
import (
"sort"

"_gen/unify"
"simd/archsimd/_gen/unify"

"golang.org/x/arch/arm64/instgen/xmlspec"
)
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/gen_simdGenericOps.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package main

import (
"_gen/sgutil"
"bytes"
"simd/archsimd/_gen/sgutil"
)

// writeSIMDGenericOps generates the generic ops for the current architecture,
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/gen_simdIntrinsics.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package main

import (
"_gen/sgutil"
"bytes"
"fmt"
"simd/archsimd/_gen/sgutil"
"slices"
"text/template"
)
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/gen_simdTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"text/template"
"unicode"

"_gen/sgutil"
"simd/archsimd/_gen/sgutil"
)

type simdType struct {
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/gen_simdrules.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"text/template"
"unicode"

"_gen/sgutil"
"simd/archsimd/_gen/sgutil"
)

type tplRuleData struct {
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/godefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"strings"
"unicode"

"_gen/unify"
"simd/archsimd/_gen/unify"
)

type Operation struct {
Expand Down
4 changes: 2 additions & 2 deletions src/simd/archsimd/_gen/simdgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ import (
"slices"
"strings"

"_gen/simdgen/arm64"
"_gen/unify"
"simd/archsimd/_gen/simdgen/arm64"
"simd/archsimd/_gen/unify"

"gopkg.in/yaml.v3"
)
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/simdgen/xed.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"strconv"
"strings"

"_gen/unify"
"simd/archsimd/_gen/unify"

"golang.org/x/arch/x86/xeddata"
"gopkg.in/yaml.v3"
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/tmplgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ package main
// slice operations and tests

import (
"_gen/sgutil"
"bufio"
"bytes"
"flag"
"fmt"
"go/format"
"io"
"os"
"simd/archsimd/_gen/sgutil"
"strings"
"text/template"
)
Expand Down
2 changes: 1 addition & 1 deletion src/simd/archsimd/_gen/wasmgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"text/template"
"unicode"

"_gen/sgutil"
"simd/archsimd/_gen/sgutil"
)

var (
Expand Down
19 changes: 0 additions & 19 deletions src/simd/testdata/ip/boringsum.go

This file was deleted.

3 changes: 0 additions & 3 deletions src/simd/testdata/ip/go.mod

This file was deleted.

51 changes: 0 additions & 51 deletions src/simd/testdata/ip/main.go

This file was deleted.

15 changes: 0 additions & 15 deletions src/simd/testdata/ip/sum.go

This file was deleted.

31 changes: 0 additions & 31 deletions src/simd/testdata/ip/sum_amd64.go

This file was deleted.

Loading