Skip to content

Commit 54370c3

Browse files
author
Robert Knight
committed
Export XInput2 from x11-dl crate
x11/src/lib.rs and x11-dl/src/lib.rs are most duplicates of each other. It would be preferable to combine them into a single file. This could be done by building src/lib.rs with different config attributes (eg. cfg=dynamic) but at present it doesn't look like it is possible to have different exports depending on #[cfg(attribute)] See rust-lang/rust#25544
1 parent 0a34be7 commit 54370c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x11-dl/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub mod xf86vmode;
2323
pub mod xfixes;
2424
pub mod xinerama;
2525
pub mod xinput;
26+
pub mod xinput2;
2627
pub mod xlib;
2728
pub mod xmu;
2829
pub mod xrender;

0 commit comments

Comments
 (0)