Skip to content

Commit e8291ae

Browse files
dlonSerock3
andauthored
Update wireguard-go-rs/Cargo.toml
Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net>
1 parent 62ae25c commit e8291ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wireguard-go-rs/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ log.workspace = true
1010
zeroize = "1.8.1"
1111

1212
[target.'cfg(target_os = "linux")'.dependencies]
13-
# wireguard-go depends on maybenot-ffi
13+
# The app does not depend on maybenot-ffi itself, but adds it as a dependency to expose FFI symbols to wireguard-go.
14+
# This is done, instead of using the makefile in wireguard-go to build maybenot-ffi into its archive, to prevent
15+
# name clashes induced by link-time optimization.
16+
# NOTE: the version of maybenot-ffi below must be the same as the version checked into the wireguard-go submodule
1417
maybenot-ffi = "1.0.0"

0 commit comments

Comments
 (0)