Skip to content

Commit 471ebbc

Browse files
committed
fixup! Add FFI for mullvad-api
1 parent 65f05db commit 471ebbc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mullvad-api/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,12 @@ impl Runtime {
311311
)
312312
}
313313

314-
// TODO: gate for ios only
314+
#[cfg(target_os = "ios")]
315315
pub fn with_static_addr(handle: tokio::runtime::Handle, address: SocketAddr) -> Self {
316316
Runtime {
317317
handle,
318318
address_cache: AddressCache::with_static_addr(address),
319319
api_availability: ApiAvailability::new(availability::State::default()),
320-
#[cfg(target_os = "android")]
321-
socket_bypass_tx,
322320
}
323321
}
324322

0 commit comments

Comments
 (0)