Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serde-rs/serde
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.216
Choose a base ref
...
head repository: serde-rs/serde
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.217
Choose a head ref
  • 8 commits
  • 10 files changed
  • 2 contributors

Commits on Dec 20, 2024

  1. 1 Configuration menu
    Copy the full SHA
    dbb9091 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2871 from dtolnay/nostdstart

    Replace #[start] with extern fn main
    dtolnay authored Dec 20, 2024
    Configuration menu
    Copy the full SHA
    8478a3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb5cd47 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9f93f9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2872 from dtolnay/ehpersonality

    Drop #[lang = "eh_personality"] from no-std test
    dtolnay authored Dec 20, 2024
    Configuration menu
    Copy the full SHA
    2a5caea View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2024

  1. Resolve repr_packed_without_abi clippy lint in tests

        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:774:5
            |
        772 |       #[repr(packed)]
            |              ------ `packed` representation set here
        773 |       #[allow(dead_code)]
        774 | /     struct Packed {
        775 | |         x: u8,
        776 | |         y: u16,
        777 | |     }
            | |_____^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
        note: the lint level is defined here
           --> test_suite/tests/test_gen.rs:5:9
            |
        5   | #![deny(warnings)]
            |         ^^^^^^^^
            = note: `#[warn(clippy::repr_packed_without_abi)]` implied by `#[warn(warnings)]`
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:919:1
            |
        918 |   #[repr(packed)]
            |          ------ `packed` representation set here
        919 | / pub struct RemotePacked {
        920 | |     pub a: u16,
        921 | |     pub b: u32,
        922 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:927:1
            |
        925 |   #[repr(packed)]
            |          ------ `packed` representation set here
        926 |   #[serde(remote = "RemotePacked")]
        927 | / pub struct RemotePackedDef {
        928 | |     a: u16,
        929 | |     b: u32,
        930 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:937:1
            |
        936 |   #[repr(packed)]
            |          ------ `packed` representation set here
        937 | / pub struct RemotePackedNonCopy {
        938 | |     pub a: u16,
        939 | |     pub b: String,
        940 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:945:1
            |
        943 |   #[repr(packed)]
            |          ------ `packed` representation set here
        944 |   #[serde(remote = "RemotePackedNonCopy")]
        945 | / pub struct RemotePackedNonCopyDef {
        946 | |     a: u16,
        947 | |     b: String,
        948 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    b6f339c View commit details
    Browse the repository at this point in the history
  2. Fix roundtrip inconsistency:

    - deserialization of flatten unit variant is possible
    - serialization of such variant gives Err("can only flatten structs and maps (got an enum)")
    Mingun authored and oli-obk committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    cb6eaea View commit details
    Browse the repository at this point in the history
  3. Release 1.0.217

    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    930401b View commit details
    Browse the repository at this point in the history
Loading