Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Embed runtime version as a custom section #8688

Merged
17 commits merged into from
May 12, 2021
Merged

Commits on Apr 28, 2021

  1. emit a custom section from impl_runtime_apis!

    This change emits a custom section from the impl_runtime_apis! proc macro.
    
    Each implemented API will result to emitting a link section `runtime_apis`.
    During linking all sections with this name will be concatenated and
    placed into the final wasm binary under the same name.
    pepyakin committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    217a874 View commit details
    Browse the repository at this point in the history
  2. Introduce runtime_version proc macro

    This macro takes an existing `RuntimeVersion` const declaration, parses
    it and emits the version information in form of a linking section.
    Ultimately such a linking section will result into a custom wasm
    section.
    pepyakin committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    259d06a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03eea2b View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Apply suggestions from code review

    Co-authored-by: David <dvdplm@gmail.com>
    pepyakin and dvdplm committed May 5, 2021
    Configuration menu
    Copy the full SHA
    d4a3038 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ceced97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    422363a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Nits

    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr committed May 6, 2021
    Configuration menu
    Copy the full SHA
    76f6c37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53ffc97 View commit details
    Browse the repository at this point in the history
  3. Fix version decoding

    pepyakin committed May 6, 2021
    Configuration menu
    Copy the full SHA
    866b13f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f13caa View commit details
    Browse the repository at this point in the history
  5. Log on decompression error

    pepyakin committed May 6, 2021
    Configuration menu
    Copy the full SHA
    93f2036 View commit details
    Browse the repository at this point in the history
  6. Simplify if

    pepyakin committed May 6, 2021
    Configuration menu
    Copy the full SHA
    78fb99e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    84c63c0 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Merge ReadRuntimeVersionExt

    pepyakin committed May 7, 2021
    Configuration menu
    Copy the full SHA
    d0ec418 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1621d6c View commit details
    Browse the repository at this point in the history
  3. Fix test

    pepyakin committed May 7, 2021
    Configuration menu
    Copy the full SHA
    689116a View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    bc41d06 View commit details
    Browse the repository at this point in the history