Skip to content

Bring in Rust support through the external module #78306

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

Merged
merged 6 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ venv
.clangd
new.info

# Cargo drops lock files in projects to capture resolved dependencies.
# We don't want to record these.
Cargo.lock

# Cargo encourages a .cargo/config.toml file to symlink to a generated file. Don't save these.
.cargo/

# Normal west builds will place the Rust target directory under the build directory. However,
# sometimes IDEs and such will litter these target directories as well.
target/

# CI output
compliance.xml
_error.types
Expand Down
8 changes: 8 additions & 0 deletions MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4831,6 +4831,14 @@ West:
labels:
- "platform: Intel"

"West project: zephyr-lang-rust":
status: maintained
maintainers:
- d3zd3z
files: []
labels:
- "area: Rust"

"West project: libmetal":
status: odd fixes
collaborators:
Expand Down
2 changes: 1 addition & 1 deletion include/zephyr/arch/arm/cortex_m/scripts/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ SECTIONS

__text_region_end = .;

#if defined (CONFIG_CPP)
#if defined (CONFIG_CPP) || defined(CONFIG_RUST)
SECTION_PROLOGUE(.ARM.extab,,)
{
/*
Expand Down
6 changes: 6 additions & 0 deletions submanifests/optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ manifest:
remote: upstream
groups:
- optional
- name: zephyr-lang-rust
revision: d2734f48d3ab1dbf584a936b2a05ece7bf0904f5
path: modules/lang/rust
remote: upstream
groups:
- optional
- name: sof
revision: 0e4c4efcaae858036027607e88406d59bd2a31d8
path: modules/audio/sof
Expand Down
Loading