abobla@lemm.ee to Linux@lemmy.ml · edit-24 天前Malicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attackthehackernews.comexternal-linkmessage-square27linkfedilinkarrow-up1209arrow-down13file-text
arrow-up1206arrow-down1external-linkMalicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attackthehackernews.comabobla@lemm.ee to Linux@lemmy.ml · edit-24 天前message-square27linkfedilinkfile-text
Packages: github.com/truthfulpharm/prototransform github.com/blankloggia/go-mcp github.com/steelpoor/tlsproxy
minus-squareCptKrkIsClmbngThMntn [any]@hexbear.netlinkfedilinkEnglisharrow-up19arrow-down1·3 天前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
minus-squareKazumara@discuss.tchncs.delinkfedilinkarrow-up9·3 天前It’s quite cruel of that compiler not being happy until you’re exhausted.
minus-squareCptKrkIsClmbngThMntn [any]@hexbear.netlinkfedilinkEnglisharrow-up8·3 天前Assuming 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.