top | item 40953755

(no title)

nitnelave | 1 year ago

I'd be curious to see what you had to change to get LLDAP to work on windows, and whether we can upstream that (I'm the LLDAP dev)

discuss

order

EvanAnderson|1 year ago

I'm a complete Rust neophyte. I don't know any of the practices for writing portable Rust code. I'm at the point w/ Rust where I'm just acting like a cargo cult script kiddie (typing commands and hoping they work).

Doing a 'cargo build' on Windows 10 x64 running Rust 1.79 x86_64-pc-windows-msvc gives me an error "error[E0433]: failed to resolve: could not find `unix` in `os`" referencing "server\src\infra\configuration.rs:239:22". That, in turn, causes compilaton of line 240 to bomb out.

So, in true skiddie mode, I just commented out lines 239 - 242. Then it builds and runs fine.

Edit: I'll log an issue on Github, too.