doc/targets.md has moved to the github wiki

https://github.com/ziglang/zig/wiki/How-to-Add-Support-For-More-Targets
This commit is contained in:
Andrew Kelley 2019-02-06 11:52:36 -05:00
parent 20e2d8da61
commit 3abf293a84
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -1,15 +0,0 @@
# How to Add Support For More Targets
Create bootstrap code in std/bootstrap.zig and add conditional compilation
logic. This code is responsible for the real executable entry point, calling
main() and making the exit syscall when main returns.
How to pass a byvalue struct parameter in the C calling convention is
target-specific. Add logic for how to do function prototypes and function calls
for the target when an exported or external function has a byvalue struct.
Write the target-specific code in the standard library.
Update the C integer types to be the correct size for the target.
Make sure that `c_longdouble` codegens the correct floating point value.