Skip to content

Commit

Permalink
Merge pull request #17 from Foundation-Devices/jeandudey/sft-2569-fix…
Browse files Browse the repository at this point in the history
…-cargo-warning-about-workspace-resolver

SFT-2569: Add resolver = "2" to Cargo.toml.
  • Loading branch information
jeandudey authored Aug 14, 2023
2 parents 6a4eece + 5c4dc31 commit c135d33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
with:
toolchain: 1.66
- run: cargo check
- run: cargo check --no-default-features
# The foundation-ffi crate won't compile for x86_64 targets because it
# requires a nightly Rust compiler for defining a global allocator and
# the exception handler.
#
# So, disable it for now.
- run: cargo check --no-default-features --workspace --exclude foundation-ffi
- run: cargo check --all-features

is-the-code-formatted:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later

[workspace]
resolver = "2"
members = [
"arena",
"codecs",
Expand Down

0 comments on commit c135d33

Please sign in to comment.