Skip to content

Commit 5d409cc

Browse files
committed
auto merge of #8143 : brson/rust/change-dir-lock, r=luqmana
2 parents 6296dc0 + 91f1ab4 commit 5d409cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/rust_builtin.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -932,12 +932,12 @@ static lock_and_signal change_dir_lock;
932932

933933
extern "C" CDECL void
934934
rust_take_change_dir_lock() {
935-
global_args_lock.lock();
935+
change_dir_lock.lock();
936936
}
937937

938938
extern "C" CDECL void
939939
rust_drop_change_dir_lock() {
940-
global_args_lock.unlock();
940+
change_dir_lock.unlock();
941941
}
942942

943943
//

0 commit comments

Comments
 (0)