- https://tebibyte.media/~emma
-
fae/faer
- Joined on
2022-02-27
Block a user
Add getopt(3p) bindings for Rust
I’m going to go ahead and fix the swab(1)
build so that I can merge this branch in.
WIP: Generate Rust sysexits bindings without bindgen
@trinity and I have verbally discussed how opposed I am to this change and it has decided to create an alternate solution.
Add getopt(3p) bindings for Rust
error[E0599]: no method named `parse` found for enum `Option` in the current scope
--> src/swab.rs:56:22
Fix usage text
NetBSD’s is very clear:
usage: f [-aDde] [-b b_arg] [-m m_arg] req1 req2 [opt1 [opt2]]\n
Yours is noisy when options have arguments and seem to imply that they are optional (since they are…
WIP: Generate Rust sysexits bindings without bindgen
This is much less robust and requires a user to know the awk programming language well enought to read it. I’m working on a way to cross-compile bindgen(1)
to your system.
WIP: Generate Rust sysexits bindings without bindgen