Dagger
Search

rustarm

Compiles rust code into ARM architectures

Installation

dagger install github.com/marcosnils/daggerverse/rustarm@dba7ab9b8bd14b94e58d8a5e0b3dc2cafdd45454

Entrypoint

Return Type
Rustarm
Example
dagger -m github.com/marcosnils/daggerverse/rustarm@dba7ab9b8bd14b94e58d8a5e0b3dc2cafdd45454 call \
func (m *myModule) example() *Rustarm  {
	return dag.
			Rustarm()
}
@function
def example() -> dag.Rustarm:
	return (
		dag.rustarm()
	)
@func()
example(): Rustarm {
	return dag
		.rustarm()
}

Types

Rustarm 🔗

buildArmv6() 🔗

builds the supplied source code for the armv6hf architecture example usage: dagger -m github.com/marcosnils/daggerverse/rustarm call build-armv-6 –path ./src export –path target

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
dagger -m github.com/marcosnils/daggerverse/rustarm@dba7ab9b8bd14b94e58d8a5e0b3dc2cafdd45454 call \
 build-armv-6 --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Rustarm().
			BuildArmv6(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.rustarm()
		.build_armv6(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.rustarm()
		.buildArmv6(src)
}

patchedRingArmv6() 🔗

patches the rust ring library to enable armv6 compilation example: dagger -m github.com/marcosnils/daggerverse/rustarm call patched-ring-armv-6 export –path ./ring

Return Type
Directory !
Example
dagger -m github.com/marcosnils/daggerverse/rustarm@dba7ab9b8bd14b94e58d8a5e0b3dc2cafdd45454 call \
 patched-ring-armv-6
func (m *myModule) example() *Directory  {
	return dag.
			Rustarm().
			PatchedRingArmv6()
}
@function
def example() -> dagger.Directory:
	return (
		dag.rustarm()
		.patched_ring_armv6()
	)
@func()
example(): Directory {
	return dag
		.rustarm()
		.patchedRingArmv6()
}