zig
This module provides functions that can be used to build a Zig program.Installation
dagger install github.com/vrischmann/daggerverse/zig@a31f27c54ce7d963d6dfe6738e2ed6f70a0127eb
Entrypoint
Return Type
Zig
Example
dagger -m github.com/vrischmann/daggerverse/zig@a31f27c54ce7d963d6dfe6738e2ed6f70a0127eb call \
func (m *myModule) example() *Zig {
return dag.
Zig()
}
@function
def example() -> dag.Zig:
return (
dag.zig()
)
@func()
example(): Zig {
return dag
.zig()
}
Types
Zig 🔗
A module to download the latest Zig master tarball
container() 🔗
Returns a Debian-based container with Zig installed and available in PATH
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | "linux/amd64" | No description provided |
Example
dagger -m github.com/vrischmann/daggerverse/zig@a31f27c54ce7d963d6dfe6738e2ed6f70a0127eb call \
container
func (m *myModule) example() *Container {
return dag.
Zig().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.zig()
.container()
)
@func()
example(): Container {
return dag
.zig()
.container()
}