File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,7 @@ mod for_windows {
87
87
) ;
88
88
assert ! ( r. is_ok( ) , "{}" , io:: Error :: last_os_error( ) ) ;
89
89
90
- // Assign our process to this job object. Note that if this fails, one very
91
- // likely reason is that we are ourselves already in a job object! This can
92
- // happen on the build bots that we've got for Windows, or if just anyone
93
- // else is instrumenting the build. In this case we just bail out
94
- // immediately and assume that they take care of it.
95
- //
96
- // Also note that nested jobs (why this might fail) are supported in recent
97
- // versions of Windows, but the version of Windows that our bots are running
98
- // at least don't support nested job objects.
90
+ // Assign our process to this job object.
99
91
let r = AssignProcessToJobObject ( job, GetCurrentProcess ( ) ) ;
100
92
if r. is_err ( ) {
101
93
CloseHandle ( job) . ok ( ) ;
You can’t perform that action at this time.
0 commit comments