@abobla@lemm.ee to Linux@lemmy.ml • edit-21 month agoMalicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attackthehackernews.comexternal-linkmessage-square27fedilinkarrow-up1214arrow-down13file-text
arrow-up1211arrow-down1external-linkMalicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attackthehackernews.com@abobla@lemm.ee to Linux@lemmy.ml • edit-21 month agomessage-square27fedilinkfile-text
Packages: github.com/truthfulpharm/prototransform github.com/blankloggia/go-mcp github.com/steelpoor/tlsproxy
minus-squareCptKrkIsClmbngThMntn [any]linkfedilinkEnglish18•1 month agoYou’ve probably covered 90% of use cases there so you’re doing well! I’m trying to port your code to Rust but the compiler keeps giving me an error about non-exhaustive match arms
minus-square@Kazumara@discuss.tchncs.delinkfedilink9•1 month agoIt’s quite cruel of that compiler not being happy until you’re exhausted.
minus-squareCptKrkIsClmbngThMntn [any]linkfedilinkEnglish8•1 month agoAssuming you’re monotheistic, I believe you can use an mpsc channel to send those asynchronously.
You’ve probably covered 90% of use cases there so you’re doing well!
I’m trying to port your code to Rust but the compiler keeps giving me an error about non-exhaustive match arms
It’s quite cruel of that compiler not being happy until you’re exhausted.
this is so sad, I’m gonna pray for you in rust
Assuming you’re monotheistic, I believe you can use an mpsc channel to send those asynchronously.