Foundation-Devices / tor

Tor plugin for Flutter
https://pub.dev/packages/tor
MIT License
18 stars 9 forks source link

Do not compile nofile_limit util functions on Windows #30

Closed icota closed 8 months ago

icota commented 8 months ago

Should fix #29

H3mnz commented 8 months ago

With comment this lines in rust/src/lib.rs

pub use crate::util::tor_get_nofile_limit; pub use crate::util::tor_set_nofile_limit;

it works on the windows

icota commented 8 months ago

Thank you for testing @H3mnz. Does it now work without you making any changes in https://github.com/Foundation-Devices/tor/pull/30/commits/b8dcfeffbafa29fa63afd2313646ec8af7701374?

H3mnz commented 8 months ago

Yes, it works in https://github.com/Foundation-Devices/tor/commit/b8dcfeffbafa29fa63afd2313646ec8af7701374