This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* apps/examples/hello_rust/hello_rust_main.rs | |
* | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. The | |
* ASF licenses this file to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance with the | |
* License. You may obtain a copy of the License at | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rushabhvg@rushabhvg-laptop:~/nuttxspace/nuttx$ make | |
LD: nuttx | |
riscv64-unknown-elf-ld: warning: /home/rushabhvg/nuttxspace/nuttx/staging/libapps.a(hello_rust_main.rs.home.rushabhvg.nuttxspace.apps.examples.hello_rust_1.o): mis-matched ISA version 2.1 for 'i' extension, the output version is 2.0 | |
riscv64-unknown-elf-ld: /home/rushabhvg/nuttxspace/nuttx/staging/libapps.a(hello_rust_main.rs.home.rushabhvg.nuttxspace.apps.examples.hello_rust_1.o): can't link soft-float modules with double-float modules | |
riscv64-unknown-elf-ld: failed to merge target specific data of file /home/rushabhvg/nuttxspace/nuttx/staging/libapps.a(hello_rust_main.rs.home.rushabhvg.nuttxspace.apps.examples.hello_rust_1.o) | |
riscv64-unknown-elf-ld: warning: /home/rushabhvg/nuttxspace/nuttx/staging/libapps.a(sh_main.c.home.rushabhvg.nuttxspace.apps.system.nsh_1.o): mis-matched ISA version 2.0 for 'i' extension, the output version is 2.1 | |
riscv64-unknown-elf-ld: warning: /home/rushabhvg/nuttxspace/nuttx/staging/libapps.a(ostest_main.c.home.rushabhvg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rushabhvg@rushabhvg-laptop:~/Desktop/nuttx-rust$ cd nuttx/ | |
rushabhvg@rushabhvg-laptop:~/Desktop/nuttx-rust/nuttx$ git pull | |
Already up to date. | |
rushabhvg@rushabhvg-laptop:~/Desktop/nuttx-rust/nuttx$ git status | |
On branch nuttx-rust-build | |
Your branch is up to date with 'origin/nuttx-rust-build'. | |
nothing to commit, working tree clean | |
rushabhvg@rushabhvg-laptop:~/Desktop/nuttx-rust/nuttx$ rustup target add riscv32i-unknown-none-elf | |
info: component 'rust-std' for target 'riscv32i-unknown-none-elf' is up to date |