Skip to content

Commit

Permalink
Add socket and flags references.
Browse files Browse the repository at this point in the history
  • Loading branch information
landhb committed Dec 27, 2022
1 parent 728539e commit 84b3ddf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libdbus-sys/build_vendored.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const DBUS_VERSION_MAJOR: u32 = 1;
const DBUS_VERSION_MINOR: u32 = 14;
const DBUS_VERSION_MICRO: u32 = 4;

// Location of dbus-daemon socket
// Location of dbus-daemon socket.
// Systemd Default: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-bus/bus-internal.h#L20
const DBUS_SYSTEM_BUS_DEFAULT_ADDRESS: &str = "/run/dbus/system_bus_socket";
const DBUS_SESSION_SOCKET_DIR: &str = "/tmp";
const DBUS_MACHINE_UUID_FILE: &str = "/etc/machine-id";
Expand Down Expand Up @@ -93,6 +94,8 @@ const UNIX_SOURCES: &'static [&'static str] = &[
];

/// Taken directly from the libdbus meson config
/// Reference: https://github.com/freedesktop/dbus/blob/master/meson.build#L1026
/// Meson variable: compile_warnings
const CWARNINGS: &'static [&'static str] = &[
// These warnings are intentionally disabled:
// - missing field initializers being implicitly 0 is a feature,
Expand Down

0 comments on commit 84b3ddf

Please sign in to comment.