Skip to content

Ensure lib.rs code example in uefi crate is tested #1337

@nicholasbishop

Description

@nicholasbishop
Member

We tried to use #![doc = include_str!("../../template/src/main.rs")], but that is causing the release job to fail: #1330 (comment)

As a quick workaround we will inline the example code, but that means it won't be tested and could break easily. Filing this issue to track fixing it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nicholasbishop

        Issue actions

          Ensure lib.rs code example in uefi crate is tested · Issue #1337 · rust-osdev/uefi-rs