mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-18 08:41:31 -07:00
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//+build linux
|
||||
//+no-instrumentation
|
||||
#+build linux
|
||||
#+no-instrumentation
|
||||
package linux
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+no-instrumentation
|
||||
#+no-instrumentation
|
||||
package linux
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build amd64
|
||||
#+build amd64
|
||||
package linux
|
||||
|
||||
// AMD64 uses the new way to define syscalls, i.e. one that
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build arm32
|
||||
#+build arm32
|
||||
package linux
|
||||
|
||||
// This file was taken and transformed from
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build arm64
|
||||
#+build arm64
|
||||
package linux
|
||||
|
||||
// Syscalls for arm64 are defined using the new way, i.e. differently from
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build i386
|
||||
#+build i386
|
||||
package linux
|
||||
|
||||
// The numbers are taken from
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build riscv64
|
||||
#+build riscv64
|
||||
package linux
|
||||
|
||||
// https://github.com/riscv-collab/riscv-gnu-toolchain/blob/master/linux-headers/include/asm-generic/unistd.h
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//+build linux
|
||||
#+build linux
|
||||
package linux
|
||||
|
||||
/// Low 8 bits of the exit code
|
||||
|
||||
Reference in New Issue
Block a user