Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc_metadata: Encode/decode some LazyArrays without an Option #107693

Merged
merged 4 commits into from
Feb 7, 2023

Commits on Feb 5, 2023

  1. rustc_metadata: Refactor lazy table reading/writing

    Change wording from "nullable" to "default".
    Introduce a trait `IsDefault` for detecting values that are encoded as zeros or not encoded at all.
    Add panics to impossible cases.
    Some other minor cleanups.
    petrochenkov committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    8cc5aa5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb5f2d3 View commit details
    Browse the repository at this point in the history
  3. rustc_metadata: Encode/decode some LazyArrays without an Option

    Also add asserts to decoding `LazyArray`s with `Option`
    petrochenkov committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    c60cc43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4e2b95 View commit details
    Browse the repository at this point in the history