-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
67 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,13 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{matrix.rust}} | ||
- run: cargo build --workspace --exclude tools --exclude musli-tests | ||
- run: cargo build | ||
if: matrix.rust != 'stable' | ||
- run: cargo build --workspace --exclude no-std-examples --all-targets | ||
- run: cargo build --all-targets | ||
if: matrix.rust == 'stable' | ||
- run: cargo test --workspace --exclude no-std-examples --all-targets --features test | ||
- run: cargo test --all-targets --features test | ||
if: matrix.rust == 'stable' | ||
- run: cargo test --workspace --exclude no-std-examples --doc | ||
- run: cargo test --doc | ||
if: matrix.rust == 'stable' | ||
|
||
tests_clippy: | ||
|
@@ -51,7 +51,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo build | ||
- run: cargo +nightly run -p no-std-examples --example no-std-${{matrix.example}} | ||
- run: cargo +nightly run -p no-std --example no-std-${{matrix.example}} | ||
|
||
fuzz: | ||
needs: [test, tests_clippy, each_package, recursive] | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
components: miri | ||
- run: cargo miri test --workspace --exclude no-std-examples --features test | ||
- run: cargo miri test --features test | ||
- run: cargo miri run -p tests --features test --bin fuzz | ||
- run: cargo miri run -p tests --features test --bin fuzz -- --random | ||
|
||
|
@@ -117,7 +117,7 @@ jobs: | |
- uses: dtolnay/[email protected] | ||
with: | ||
components: clippy | ||
- run: cargo clippy --workspace --exclude no-std-examples --all-targets --features test -- -D warnings | ||
- run: cargo clippy --all-targets --features test -- -D warnings | ||
|
||
rustfmt: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "no-std" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
musli = { path = "../crates/musli", default-features = false } | ||
musli-json = { path = "../crates/musli-json", default-features = false, features = ["parse-full"] } | ||
musli-utils = { path = "../crates/musli-utils", default-features = false } | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
compiler_builtins = { git = "https://github.com/rust-lang/compiler-builtins", features = ["mem"] } |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
.../ui/illegal_fallback_variant_error.stderr → .../ui/illegal_fallback_variant_error.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
error: #[musli(default)] variant must be empty | ||
--> tests/ui/illegal_fallback_variant_error.rs:6:5 | ||
--> tests/ui/illegal_fallback_variant_error.rs:6:13 | ||
| | ||
6 | #[musli(default)] | ||
| ^ | ||
| ^^^^^^^ | ||
|
||
error: #[musli(default)] only one fallback variant is supported | ||
--> tests/ui/illegal_fallback_variant_error.rs:17:5 | ||
--> tests/ui/illegal_fallback_variant_error.rs:17:13 | ||
| | ||
17 | #[musli(default)] | ||
| ^ | ||
| ^^^^^^^ |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.