aboutsummaryrefslogtreecommitdiff
path: root/lib/std/build/InstallRawStep.zig
AgeCommit message (Collapse)Author
2023-01-31combine std.build and std.build.Builder into std.BuildAndrew Kelley
I've been wanting to do this for along time.
2022-12-13add `zig objcopy` subcommandAndrew Kelley
This commit moves the logic from `std.build.InstallRawStep` into `zig objcopy`. The options here are limited, but we can add features as needed. closes #9261 New issues can be opened for specific objcopy flag support.
2022-12-11std.build.InstallRawStep: fix compilation on wasm32-wasiAndrew Kelley
2022-10-18all: rename `@maximum` to `@max` and `@minimum` to `@min`Ali Chraghi
2021-12-06Add test executable builds to build.zigMartin Wickham
2021-12-03Add single section dumping and padding to InstallRawStepN00byEdge
2021-12-03std.build.InstallRawStep: allow custom dest_dirJonathan Marler
I'm working on a build.zig file where I'm leveraging InstallRawStep but I'd like to change the install dir. This allows the install dir to be changd and also enhances InstallRawStep to add more options in the future by putting them into a struct with default values. This also removes the need for an extra addInstallStepWithFormat function in build.zig.
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
See #3811
2021-10-21InstallRawStep: handle empty segmentsJonathan Marler
This fixes InstallRawStep to handle the cases when there are empty segments (segments with no sections). Before this change, if there was an empty segment with no sections, then the fixup of binaryOffsets is skipped. This fixes that by looping through each segment until a non-empty one is found and then fixing up the sections. This fixed an issue I was having with InstallRawStep for a bootloader I'm writing.
2021-09-01stdlib: Add test for generating HEX files.Evan Haas
Co-authored-by: Akbar Dhanaliwala <akbar.dhanaliwala@gmail.com>
2021-09-01stdlib: Add Intel HEX support to InstallRawStepEvan Haas
This allows writing HEX files with `exe.installRaw`, where `exe` is a `LibExeObjStep`. A HEX file will be written if the file extension is `.hex` or `.ihex`, otherwise a binfile will be written. The output format can be explicitly chosen with `exe.installRawWithFormat("filename", .hex);` (or `.bin`) Part of #2826 Co-authored-by: Akbar Dhanaliwala <akbar.dhanaliwala@gmail.com>
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
2021-06-21fix code broken from previous commitJacob G-W
2021-06-11make remaining enums in build.zig snake_caseVeikka Tuominen
2021-06-11Changes to .path instead of .getPathFn. Changes LibExeObjStep to also ↵Felix (xq) Queißner
provide FileSource.
2021-06-11Moves files to file-global struct layout.Felix (xq) Queißner