Skip to content

Commit

Permalink
Fix build instructions for C example
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Sep 17, 2023
1 parent 8a2720d commit 0f001ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ To build the C example, just run:
> make
> ./simple
# If needed:
> LD_LIBRARY_PATH=target/release/ ./simple
> LD_LIBRARY_PATH=target/debug/ ./simple
```

### Benchmarks
Expand Down
2 changes: 1 addition & 1 deletion src/unix/apple/macos/component/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::{ComponentExt, ComponentsExt};

#[doc = include_str!("../../../../../md_doc/components.md")]
pub struct Components {
pub(crate) components: Vec<Component>,
components: Vec<Component>,
client: Option<CFReleaser<__IOHIDEventSystemClient>>,
}

Expand Down
2 changes: 1 addition & 1 deletion src/unix/apple/macos/component/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl ComponentFFI {
// Used to get CPU information, not supported on iOS, or inside the default macOS sandbox.
#[doc = include_str!("../../../../../md_doc/components.md")]
pub struct Components {
pub components: Vec<Component>,
components: Vec<Component>,
connection: Option<IoService>,
}

Expand Down

0 comments on commit 0f001ff

Please sign in to comment.