21 karma · joined Jan 2, 2021 (5y ago) · 6 submissions
comment 5y ago · link · parent
The three big gotchas with this are:
- You need to name the rule the same as the module you've exported in Rust
- It creates a copy to get the naming right. You could write an actual rule instead of a macro that just makes a symlink with the right name for Python to pick it up.
- Since the macro just exposes a genrule and isn't a PyInfo provider, you need to add it in the data of the py_library/binary you intend to use it in. Again, could be fixed by an actual rule impl.
comment 5y ago · link · parent
Cargo raze should let you consume libraries you've imported in a rust_binary target, if that's what you're talking about. It's also possible, but slightly more annoying, to vendor the dependency tree if you need to rely on pulling from a local mirror.
I've also used it to import cargo binaries (i.e wasm-bindgen-cli) into a Bazel workspace -- it just makes the resulting target something like @raze_some_bin//:bin
comment 5y ago · link · parent
Audio latency is one struggle I agree is still pretty bad. I had a pretty good time getting SteamVR running on Linux with Beat Saber running via proton, but tuning the audio latency was a big pain.
comment 5y ago · link · parent
https://old.reddit.com/r/mangadex/comments/nvj7qf/is_verizon...
comment 5y ago · link · parent
If I was going the "dedicated machine" route, I'd probably go with OPNsense nowadays.