Skip to content

Commit c034014

Browse files
committed
Move rust code to "rust" directory
1 parent 5840c71 commit c034014

39 files changed

+10
-31
lines changed

.gitmodules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[submodule "rust-app/libc"]
2-
path = rust-app/libc
1+
[submodule "rust/libc"]
2+
path = rust/libc
33
url = https://github.com/tylerwhall/libc.git
4-
[submodule "rust-app/rust"]
5-
path = rust-app/rust
4+
[submodule "rust/rust"]
5+
path = rust/rust
66
url = https://github.com/tylerwhall/rust.git

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ add_custom_command(OUTPUT ${zephyr_bindgen}
3636
cargo -v build --release --target-dir=${rust_build_dir}
3737
)
3838

39-
set(rust_src_dir ${CMAKE_CURRENT_SOURCE_DIR}/rust-app)
39+
set(rust_src_dir ${CMAKE_CURRENT_SOURCE_DIR}/rust)
4040
set(rust_sysroot ${CMAKE_CURRENT_BINARY_DIR}/sysroot)
4141
set(rust_sysroot_build ${CMAKE_CURRENT_BINARY_DIR}/sysroot-build)
4242
set(rust_app_build ${CMAKE_CURRENT_BINARY_DIR}/app)
@@ -110,4 +110,4 @@ add_custom_command(
110110
)
111111
add_custom_target(rust_final DEPENDS ${rust_obj})
112112
zephyr_library_import(rust ${rust_obj})
113-
add_dependencies(rust rust_final)
113+
add_dependencies(rust rust_final)

rust-app/zephyr/src/msgq.rs

Lines changed: 0 additions & 21 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

rust-app/libc renamed to rust/libc

Submodule libc updated from 0000000 to 95d6b3f

0 commit comments

Comments
 (0)