Skip to content

Commit 63097df

Browse files
committed
samples: rust: Rename hello world
Rename the sample to just hello world. As long as the actual sample name is different, there won't be index conflicts in the documentation. Signed-off-by: David Brown <[email protected]>
1 parent 21a58be commit 63097df

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

samples/rust/hello_rust/CMakeLists.txt renamed to samples/rust/hello_world/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
cmake_minimum_required(VERSION 3.20.0)
44

55
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6-
project(hello_world)
6+
project(hello_rust_world)
77

88
rust_cargo_application()

samples/rust/hello_rust/README.rst renamed to samples/rust/hello_world/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Once the proper rust toolchain has been installed. This configuration
1616
can be built and executed on QEMU as follows:
1717

1818
.. zephyr-app-commands::
19-
:zephyr-app: samples/rust/hello_rust
19+
:zephyr-app: samples/rust/hello_world
2020
:host-os: unix
2121
:board: qemu_riscv32
2222
:goals: run
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sample:
22
description: Hello world, but in Rust
3-
name: hello rust
3+
name: hello rust world
44
common:
55
harness: console
66
harness_config:
@@ -10,5 +10,5 @@ common:
1010
tags: rust
1111
filter: CONFIG_RUST_SUPPORTED
1212
tests:
13-
sample.rust.hellorust:
13+
sample.rust.helloworld:
1414
tags: introduction

0 commit comments

Comments
 (0)