Skip to content

Commit

Permalink
Following consensus on: serde-rs#2580 (review)
Browse files Browse the repository at this point in the history
This PR phases out the precompiled per final consensus made in serde-rs#2580
i#
Fix a cfg
  • Loading branch information
pinkforest committed Aug 21, 2023
1 parent 151b45a commit 360606b
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 1,607 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ jobs:
- run: cd serde && cargo check --no-default-features
- run: cd serde && cargo check
- run: cd serde_derive && cargo check
- run: cd precompiled/serde_derive && cargo check

alloc:
name: Rust 1.36.0
Expand All @@ -109,35 +108,14 @@ jobs:
- uses: dtolnay/[email protected]
- run: cd serde && cargo build --no-default-features --features alloc

precompiled:
name: Precompiled
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
targets: x86_64-unknown-linux-musl
- run: precompiled/build.sh
- name: replace serde_derive dependency with precompiled
run: |
cargo rm serde_derive --package serde
cargo rm serde_derive --package serde --dev
sed -i '/"serde_derive"/d' Cargo.toml
sed -i '/\[workspace\]/d' precompiled/serde_derive/Cargo.toml
cargo add --dev serde_derive --path precompiled/serde_derive --package serde_test_suite
git diff
- run: cd test_suite && cargo test --features unstable -- --skip ui --exact

macos:
name: macOS
runs-on: macos-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cd precompiled/serde_derive && cargo check
- run: cd serde_derive && cargo check

minimal:
name: Minimal versions
Expand Down
1 change: 0 additions & 1 deletion precompiled/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions precompiled/Cargo.toml

This file was deleted.

17 changes: 0 additions & 17 deletions precompiled/bin/Cargo.toml

This file was deleted.

4 changes: 0 additions & 4 deletions precompiled/bin/build.rs

This file was deleted.

45 changes: 0 additions & 45 deletions precompiled/bin/main.rs

This file was deleted.

1 change: 0 additions & 1 deletion precompiled/bin/src

This file was deleted.

19 changes: 0 additions & 19 deletions precompiled/build.sh

This file was deleted.

8 changes: 0 additions & 8 deletions precompiled/proc-macro2/Cargo.toml

This file was deleted.

Loading

0 comments on commit 360606b

Please sign in to comment.