看图可知,好玩吧。

【Windows WSL2】通过 go 编译出 exe 后直接在 WSL 里运行,访问 COM 串口_直接访问

如果你不能直接访问设备,为何不直接编译成 exe 来访问 windows 设备呢?