Added rust support

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
This commit is contained in:
Waylon Cude
2016-02-28 22:44:04 -08:00
committed by Christian Helmuth
parent 611a73be36
commit 28117fee12
22 changed files with 198 additions and 7 deletions

27
repos/base/run/rust.run Normal file
View File

@ -0,0 +1,27 @@
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"