patina 22.2.0

Common types and functionality used in UEFI development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Test that duplicate StandardRuntimeServices parameters are rejected at compile time.

use patina::{
    component::component,
    error::Result,
    runtime_services::StandardRuntimeServices,
};

pub struct TestComponent;

#[component]
impl TestComponent {
    fn entry_point(self, _rt1: StandardRuntimeServices, _rt2: StandardRuntimeServices) -> Result<()> {
        Ok(())
    }
}

fn main() {}