Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

InstallArtifact

Public Struct
std.Build.Configuration.Step.InstallArtifact
pub const InstallArtifact = struct

The first dependency step index will be the compile step whose artifacts are being installed with this step.

Fields

flags: @This().Flags
bin_dir: Storage.FlagOptional(.flags, .bin_dir, InstallDestDir)
implib_dir: Storage.FlagOptional(.flags, .implib_dir, InstallDestDir)
pdb_dir: Storage.FlagOptional(.flags, .pdb_dir, InstallDestDir)
h_dir: Storage.FlagOptional(.flags, .h_dir, InstallDestDir)
bin_sub_path: Storage.FlagOptional(.flags, .bin_sub_path, String)

Structs

File

Build/Configuration.zig:547
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
    pub const InstallArtifact = struct {
        flags: @This().Flags,
        bin_dir: Storage.FlagOptional(.flags, .bin_dir, InstallDestDir),
        implib_dir: Storage.FlagOptional(.flags, .implib_dir, InstallDestDir),
        pdb_dir: Storage.FlagOptional(.flags, .pdb_dir, InstallDestDir),
        h_dir: Storage.FlagOptional(.flags, .h_dir, InstallDestDir),
        bin_sub_path: Storage.FlagOptional(.flags, .bin_sub_path, String),

        pub const Flags = packed struct(u32) {
            tag: Tag = .install_artifact,
            dylib_symlinks: bool,
            bin_dir: bool,
            implib_dir: bool,
            pdb_dir: bool,
            h_dir: bool,
            bin_sub_path: bool,
            _: u21 = 0,
        };
    }