Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 681070 Details for
Bug 762970
dev-go/gox Platforms_1_9 patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff version
platform.go.diff.txt (text/plain), 2.36 KB, created by
Michael Lawrence
on 2021-01-04 23:54:59 UTC
(
hide
)
Description:
diff version
Filename:
MIME Type:
Creator:
Michael Lawrence
Created:
2021-01-04 23:54:59 UTC
Size:
2.36 KB
patch
obsolete
>diff C:/Users/mlawrence/Downloads/gox-master/platform.go C:/Users/mlawrence/Downloads/gox-master/platform-orig.go >28,72d27 >< /// Like `uname -s` >< // Matches https://github.com/golang/go/blob/master/src/go/build/syslist.go >< func (p *Platform) OSUname() string { >< return map[string]string{ >< //"android": >< "darwin": "Darwin", >< "dragonfly": "DragonFly", >< "freebsd": "FreeBSD", >< "linux": "Linux", >< //"nacl": >< "netbsd": "NetBSD", >< "openbsd": "OpenBSD", >< "plan9": "Plan9", >< "solaris": "SunOS", >< "windows": "Windows", >< //"zos": >< }[p.OS] >< } >< >< /// Like `uname -m` >< // Matches https://github.com/golang/go/blob/master/src/go/build/syslist.go >< func (p *Platform) ArchUname() string { >< return map[string]string{ >< "386": "i386", >< "amd64": "x86_64", >< //"amd64p32": >< "arm": "arm", >< //"armbe": >< "arm64": "aarch64", >< //"arm64be": >< "ppc64": "ppc64", >< "ppc64le": "ppc64le", >< //"mips": >< //"mipsle": >< //"mips64": >< //"mips64p32": >< //"mips64p32le": >< //"ppc": >< //"s390": >< //"s390x": >< //"sparc": >< //"sparc64": >< }[p.Arch] >< } >< >137,140d91 >< {"linux", "arm64", true}, >< //{"windows", "arm", true}, //not yet >< //{"windows", "arm64", true}, //wont yet cross compile >< >143,154c94,96 >< Platforms_1_9 = append(Platforms_1_8, []Platform{ >< {"linux", "riscv64", true}, >< {"freebsd", "riscv64", true}, >< {"freebsd", "arm64", true}, >< {"freebsd", "arm", true}, >< {"openbsd", "arm64", true}, >< {"openbsd", "arm", true}, >< {"openbsd", "riscv64", true}, >< {"windows", "arm", true}, >< {"windows", "arm64", true}, >< {"js", "wasm", true}, >< }...) >--- >> // no new platforms in 1.9 >> Platforms_1_9 = Platforms_1_8 >> >158,170c100 >< Platforms_1_11 = append(Platforms_1_10, []Platform{ >< {"js", "wasm", true}, >< // Not sure arm64 was ported in 1.11 maybe before! >< {"linux", "arm64", true}, >< }...) >< >< Platforms_1_12 = append(Platforms_1_11, []Platform{ >< {"linux", "ppc64", true}, >< {"windows", "arm", true}, >< {"aix", "ppc64", true}, >< }...) >< >< PlatformsLatest = Platforms_1_12 >--- >> PlatformsLatest = Platforms_1_10 >205,206d134 >< {">=1.11, < 1.12", Platforms_1_11}, >< {">=1.12, < 1.13", Platforms_1_12}, >220c148 >< return Platforms_1_12 >--- >> return Platforms_1_9
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 762970
:
680545
|
681061
| 681070 |
681073