Dagger
Search

rust

No long description provided.

Installation

dagger install github.com/KGB33/daggerverse/rust@3b8e9d04c63e1ff56e03eeb6b21c1b993d41bd37

Entrypoint

Return Type
Rust
Example
dagger -m github.com/KGB33/daggerverse/rust@3b8e9d04c63e1ff56e03eeb6b21c1b993d41bd37 call \
func (m *myModule) example() *Rust  {
	return dag.
			Rust()
}
@function
def example() -> dag.Rust:
	return (
		dag.rust()
	)
@func()
example(): Rust {
	return dag
		.rust()
}

Types

Rust 🔗

base() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
toolchainFile nullNo description provided
Example
dagger -m github.com/KGB33/daggerverse/rust@3b8e9d04c63e1ff56e03eeb6b21c1b993d41bd37 call \
 base
func (m *myModule) example() *Container  {
	return dag.
			Rust().
			Base()
}
@function
def example() -> dagger.Container:
	return (
		dag.rust()
		.base()
	)
@func()
example(): Container {
	return dag
		.rust()
		.base()
}

build() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
nameString !-No description provided
toolchainFile nullNo description provided
targetString !"x86_64-unknown-linux-gnu"No description provided
Example
dagger -m github.com/KGB33/daggerverse/rust@3b8e9d04c63e1ff56e03eeb6b21c1b993d41bd37 call \
 build --src DIR_PATH --name string --target string
func (m *myModule) example(src *Directory, name string, target string) *File  {
	return dag.
			Rust().
			Build(src, name, target)
}
@function
def example(src: dagger.Directory, name: str, target: str) -> dagger.File:
	return (
		dag.rust()
		.build(src, name, target)
	)
@func()
example(src: Directory, name: string, target: string): File {
	return dag
		.rust()
		.build(src, name, target)
}