Skip to content
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
23 changes: 23 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: riscv64gc-unknown-none-elf
- name: Build project
run: cargo build
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"rust-lang.rust-analyzer",
"ZixuanWang.linkerscript",
"tamasfe.even-better-toml",
"fill-labs.dependi",
"vadimcn.vscode-lldb",
"github.vscode-github-actions"
]
}
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ See https://github.com/rust-embedded/cargo-binutils#readme for details

## Recommended VSCode Extensions

* rust-analyzer: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
* LinkerScript: https://marketplace.visualstudio.com/items?itemName=ZixuanWang.linkerscript
* Even Better TOML: https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml
* Dependi: https://marketplace.visualstudio.com/items?itemName=fill-labs.dependi
* CodeLLDB: https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
We have configured VSCode to automatically recommend the needed extensions for this project. You should install all when prompted.

# Rust Embedded Assembly

Expand Down