Dagger
Search

zig

This module provides functions that can be used to build a Zig program.

Installation

dagger install github.com/vrischmann/daggerverse/zig@7a6a0e6c248d063388925e5588a637090f9fa7cd

Entrypoint

Return Type
Zig
Example
dagger -m github.com/vrischmann/daggerverse/zig@7a6a0e6c248d063388925e5588a637090f9fa7cd 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
NameTypeDefault ValueDescription
platformScalar "linux/amd64"No description provided
Example
dagger -m github.com/vrischmann/daggerverse/zig@7a6a0e6c248d063388925e5588a637090f9fa7cd 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()
}