Skip to content

Commit

Permalink
Generate bindings for Rust 1.68
Browse files Browse the repository at this point in the history
  • Loading branch information
michielp1807 committed Jan 10, 2025
1 parent 67da61e commit eaf115c
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 107 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pps-time"
description = "A Rust interface for PPS devices"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/pendulum-project/pps-time"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ A Rust interface for Pulse Per Second (PPS) devices, based on [RFC 2783](https:/

The `pps.rs` contains bindings that were automatically generated by rust-bindgen:
```
bindgen /usr/include/linux/pps.h -o ./src/pps.rs --with-derive-default --raw-line '#![allow(dead_code, non_camel_case_types)]'
bindgen /usr/include/linux/pps.h -o ./src/pps.rs --with-derive-default --raw-line '#![allow(dead_code, non_camel_case_types, non_snake_case)]' --rust-target "1.68"
```
Loading

0 comments on commit eaf115c

Please sign in to comment.