os: prevent unnecessary dependencies when importing `os` on windows (#6741)
parent
cd399b7e6e
commit
cc4bb71f29
|
@ -2,8 +2,6 @@ module os
|
|||
|
||||
import strings
|
||||
|
||||
#flag -lws2_32
|
||||
#include <winsock2.h>
|
||||
#include <process.h>
|
||||
pub const (
|
||||
path_separator = '\\'
|
||||
|
|
Loading…
Reference in New Issue