zig/lib/std/Build/Step
Luuk de Gram 1cb7a01b25
wasm-linker: implement -fno-entry flag
This adds support for the `-fno-entry` and `-fentry` flags respectively, for
zig build-{exe/lib} and the build system. For `zig cc` we use the `--no-entry`
flag to be compatible with clang and existing tooling.

In `start.zig` we now make the main function optional when the target is
WebAssembly, as to allow for the build-exe command in combination with
`-fno-entry`.

When the execution model is set, and is set to 'reactor', we now verify
when an entry name is given it matches what is expected. When no entry
point is given, we set it to `_initialize` by default. This means the user
will also be met with an error when they use the reactor model, but did
not provide the correct function.
2023-11-03 12:48:52 +01:00
..
CheckFile.zig Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
CheckObject.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
Compile.zig wasm-linker: implement -fno-entry flag 2023-11-03 12:48:52 +01:00
ConfigHeader.zig Build: fix some issues with ConfigHeader step 2023-10-16 03:50:47 -04:00
Fmt.zig
InstallArtifact.zig std.Build.Step.InstallArtifact: disable emit-h 2023-07-30 17:22:54 -07:00
InstallDir.zig Add include_extensions to InstallDir Options (#17300) 2023-09-29 18:50:37 -04:00
InstallFile.zig Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
ObjCopy.zig build/ObjCopy: strip debug info to a separate elf file. 2023-08-12 09:54:35 +02:00
Options.zig x86_64: fix behavior of getValue 2023-10-26 21:45:58 -04:00
RemoveDir.zig std.Build: use create() instead of init() for Step.RemoveDir 2023-10-21 17:48:25 +03:00
Run.zig child_process + Build: rename exec to run + all related code 2023-10-22 14:47:20 -04:00
TranslateC.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
WriteFile.zig std.Build.Step.WriteFile: fix call to nonexistent function 2023-07-31 14:23:57 +02:00