🌐 AI搜索 & 代理 主页
Skip to content

Commit c0dd54f

Browse files
committed
nt junction
1 parent 6421f3d commit c0dd54f

File tree

3 files changed

+392
-146
lines changed

3 files changed

+392
-146
lines changed

Lib/test/test_os.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3130,7 +3130,6 @@ def tearDown(self):
31303130
if os.path.lexists(self.junction):
31313131
os.unlink(self.junction)
31323132

3133-
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; (AttributeError: module '_winapi' has no attribute 'CreateJunction')")
31343133
def test_create_junction(self):
31353134
_winapi.CreateJunction(self.junction_target, self.junction)
31363135
self.assertTrue(os.path.lexists(self.junction))

crates/vm/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ features = [
124124
"Win32_System_Console",
125125
"Win32_System_Diagnostics_Debug",
126126
"Win32_System_Environment",
127+
"Win32_System_IO",
127128
"Win32_System_Ioctl",
129+
"Win32_System_Kernel",
128130
"Win32_System_LibraryLoader",
129131
"Win32_System_Memory",
130132
"Win32_System_Performance",

0 commit comments

Comments
 (0)