Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/rust: Rename hello_rust to rust/baremetal #2944

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ config EXAMPLES_HELLO_RUST
tristate "\"Hello, Rust!\" example"
default n
---help---
Enable the \"Hello, Rust!\" example
Enable the \"Hello, Rust!\" example to show how to build
and run a baremetal Rust application with rustc.

if EXAMPLES_HELLO_RUST

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/examples/hello_rust/Make.defs
# apps/examples/rust/baremetal/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -21,5 +21,5 @@
############################################################################

ifneq ($(CONFIG_EXAMPLES_HELLO_RUST),)
CONFIGURED_APPS += $(APPDIR)/examples/hello_rust
CONFIGURED_APPS += $(APPDIR)/examples/rust/baremetal
endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# apps/examples/hello_rust/Makefile
# apps/examples/rust/baremetal/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* apps/examples/hello_rust/hello_rust_main.rs
* apps/examples/rust/baremetal/hello_rust_main.rs
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
Loading