Add new travis feature for logind
This commit is contained in:
parent
2017d8cd16
commit
e3113caa72
|
@ -36,6 +36,7 @@ env:
|
||||||
- FEATURES="backend_udev"
|
- FEATURES="backend_udev"
|
||||||
- FEATURES="backend_session"
|
- FEATURES="backend_session"
|
||||||
- FEATURES="backend_session_udev"
|
- FEATURES="backend_session_udev"
|
||||||
|
- FEATURES="backend_session_logind"
|
||||||
- FEATURES="renderer_glium"
|
- FEATURES="renderer_glium"
|
||||||
# test default features
|
# test default features
|
||||||
- FEATURES="default"
|
- FEATURES="default"
|
||||||
|
|
|
@ -79,7 +79,8 @@ pub enum BoundAutoSession {
|
||||||
pub struct AutoId(AutoIdInternal);
|
pub struct AutoId(AutoIdInternal);
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(PartialEq, Eq)]
|
||||||
enum AutoIdInternal {
|
enum AutoIdInternal {
|
||||||
#[cfg(feature = "backend_session_logind")] Logind(logind::Id),
|
#[cfg(feature = "backend_session_logind")]
|
||||||
|
Logind(logind::Id),
|
||||||
Direct(direct::Id),
|
Direct(direct::Id),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue