-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build on non-Linux #2
Comments
Thanks for the report! I guess https://lib.rs/crates/shmemfdrs can be used? |
Please try 5e836c6 |
Builds fine on FreeBSD amd64 and works fine under Sway 1.7 now. Building on DragonFly or FreeBSD i386/aarch64/powerpc64/etc is blocked by https://github.com/unrelentingtech/shmemfdrs/issues/5. |
I'm okay with depending on a specific git commit instead of a tag if it helps. |
Should be ready now. Can you update dependencies or just $ cargo update -p shmemfdrs
Updating crates.io index
Removing sc v0.2.7
Updating shmemfdrs v0.1.1 -> v0.1.2
$ git diff
diff --git a/Cargo.lock b/Cargo.lock
index 66de8a7..9056685 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -660,12 +660,6 @@ version = "0.6.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
-[[package]]
-name = "sc"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "010e18bd3bfd1d45a7e666b236c78720df0d9a7698ebaa9c1c559961eb60a38b"
-
[[package]]
name = "scoped-tls"
version = "1.0.0"
@@ -720,12 +714,11 @@ checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012"
[[package]]
name = "shmemfdrs"
-version = "0.1.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "175eef7ea3471a106255cee9794bccfc3dc62832739526219fe0b795da0dd6fe"
+checksum = "2da0cd782f1ec8ff2ce0ad7f766d16cc355eadd887a863559bfc1d5d886cb3b8"
dependencies = [
"libc",
- "sc",
]
[[package]] |
Done. Published a new version. |
Regressed by b469d9e. Affects downstream package. CC @unrelentingtech
memfd_create
can be replaced withshm_open(SHM_ANON, ...)
which is supported on all FreeBSD versions.libc
crateThe text was updated successfully, but these errors were encountered: