mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 17:18:53 +00:00
28117fee12
Rust relies on atomic builtins, which are not implemented in libgcc for ARM. One is implemented in rust, which is sufficient to get the current rust test to run. Issue #1899
28 lines
535 B
Plaintext
28 lines
535 B
Plaintext
build "core init test/rust"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="RM"/>
|
|
<service name="ROM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<start name="rust-test">
|
|
<resource name="RAM" quantum="10M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core init rust-test ld.lib.so libc.lib.so"
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
run_genode_until { 42 } 10
|
|
|
|
puts "Test succeeded"
|