Skip to content

Commit 2178ac2

Browse files
authored
Warning cleanup in project (#43)
1 parent 0fb28b3 commit 2178ac2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
freertos-rust:
1414
name: Build freertos-rust
1515
runs-on: ubuntu-latest
16-
#env:
17-
# RUSTFLAGS: -D warnings # Warnings disabled only in CI
16+
env:
17+
RUSTFLAGS: -D warnings # Warnings disabled only in CI
1818
steps:
1919
- name: Clone
2020
uses: actions/checkout@v3

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/target
2-
/.idea
2+
/.idea
3+
/.vscode
4+
Cargo.lock

freertos-rust-examples/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ embedded-hal = "0.2.3"
2929
stm32f4xx-hal = {version = "0.8.3", features = ["rt", "stm32f411"]}
3030

3131
# Example: nrf9160
32-
[target.thumbv8m.main-none-eabihf.dependencies]
32+
[target."thumbv8m.main-none-eabihf".dependencies]
3333
nrf9160-pac = "0.2.1"
3434

3535
# Example: win

freertos-rust/src/utils.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use crate::shim::*;
44

55
#[derive(Debug, Copy, Clone)]
66
pub struct TypeSizeError {
7-
id: usize,
8-
c_size: usize,
9-
rust_size: usize,
7+
pub id: usize,
8+
pub c_size: usize,
9+
pub rust_size: usize,
1010
}
1111

1212
#[cfg(feature = "cpu_clock")]

0 commit comments

Comments
 (0)