Skip to content

Commit

Permalink
Merge pull request #2590 from pinkforest/phase-out-precompiled
Browse files Browse the repository at this point in the history
Phase out precompiled
  • Loading branch information
dtolnay committed Aug 21, 2023
2 parents 151b45a + 360606b commit 110af31
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
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/rust-toolchain@1.36.0
- 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.

0 comments on commit 110af31

Please sign in to comment.