Skip to content

Commit

Permalink
set rustflags for s2 target
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Nov 7, 2022
1 parent f560980 commit 9a0d099
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-async.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
[
"embassy_hello_world"
]
env:
RUSTFLAGS: "--cfg target_has_atomic=\"8\" --cfg target_has_atomic=\"16\" --cfg target_has_atomic=\"32\" --cfg target_has_atomic=\"ptr\""
steps:
- uses: actions/checkout@v2
- uses: esp-rs/[email protected]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
{ chip: esp32s3, features: "eh1,smartled,ufmt" },
{ chip: esp32s3, features: "direct-boot,eh1,smartled,ufmt" },
]
env:
RUSTFLAGS: "--cfg target_has_atomic=\"8\" --cfg target_has_atomic=\"16\" --cfg target_has_atomic=\"32\" --cfg target_has_atomic=\"ptr\""
steps:
- uses: actions/checkout@v2
- uses: esp-rs/[email protected]
Expand Down

0 comments on commit 9a0d099

Please sign in to comment.