Skip to content

Commit

Permalink
When getting from native, ensure that default QoS values are reflecte…
Browse files Browse the repository at this point in the history
…d by None (#18)
  • Loading branch information
JEnoch authored Sep 23, 2023
1 parent 8f831b3 commit c1be4c4
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 100 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
- name: Install ACL
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get -y install acl-dev
- name: Code format check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Clippy check
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Build (without Iceoryx)
run: cargo build --verbose
- name: Build (with Iceoryx)
Expand Down
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ pub const DDS_DOMAIN_DEFAULT: u32 = 0xffffffff_u32;

pub mod qos;

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
// deactivate clippy on bindgen generated code
#[allow(clippy::all)]
mod bindings {
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}
pub use bindings::*;

/* Additional wrapper functions for select exported inline functions */

Expand Down
Loading

0 comments on commit c1be4c4

Please sign in to comment.