Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by enriquto on Tuesday October 05, 2021 @10:04AM
(#28759646)
rustup: unrecognized OS type: OpenBSD
EDIT: googling around, it seems to be possible to build rust programs for openbsd, but it does not really work "out of the box". May try to install it this weekend.
Re:Show HN: Hurl – Run and test HTTP requests with plain tex...
by nicoburns on Tuesday October 05, 2021 @10:27AM
(#28759949)
Ah, OpenBSD looks like a bit of an exception in terms of platform support. FreeBSD and NetBSD both have Tier 2 (which is really the minimum level you want for a compiler host platform), but not OpenBSD.
The process would be:
- Run the `curl | bash` command from https://rustup.rs/ to install rust via rustup
- If you have a non-standard shell configuration that rustup can't detect, then add `~/.cargo/bin` to your PATH.
- Clone the git repository containing the program you wish to compile
- Run `cargo build --release` in the source directory.
That's it, and that will work across all major platforms and almost all Rust programs.