Skip to content

Commit

Permalink
Warning cleanup in project (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
schteve committed Nov 26, 2022
1 parent 0fb28b3 commit 2178ac2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
freertos-rust:
name: Build freertos-rust
runs-on: ubuntu-latest
#env:
# RUSTFLAGS: -D warnings # Warnings disabled only in CI
env:
RUSTFLAGS: -D warnings # Warnings disabled only in CI
steps:
- name: Clone
uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/target
/.idea
/.idea
/.vscode
Cargo.lock
2 changes: 1 addition & 1 deletion freertos-rust-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ embedded-hal = "0.2.3"
stm32f4xx-hal = {version = "0.8.3", features = ["rt", "stm32f411"]}

# Example: nrf9160
[target.thumbv8m.main-none-eabihf.dependencies]
[target."thumbv8m.main-none-eabihf".dependencies]
nrf9160-pac = "0.2.1"

# Example: win
Expand Down
6 changes: 3 additions & 3 deletions freertos-rust/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use crate::shim::*;

#[derive(Debug, Copy, Clone)]
pub struct TypeSizeError {
id: usize,
c_size: usize,
rust_size: usize,
pub id: usize,
pub c_size: usize,
pub rust_size: usize,
}

#[cfg(feature = "cpu_clock")]
Expand Down

0 comments on commit 2178ac2

Please sign in to comment.