Skip to content

Commit a3d7e31

Browse files
committed
---
yaml --- r: 64603 b: refs/heads/snap-stage3 c: 23b7ee2 h: refs/heads/master i: 64601: 47d7b81 64599: d177051 v: v3
1 parent 23b01b0 commit a3d7e31

File tree

7 files changed

+2
-293
lines changed

7 files changed

+2
-293
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6174f9a4d9dc48f9988cd252f4fea8b319020298
4+
refs/heads/snap-stage3: 23b7ee2bda12f6518d480c29e9673ed2c592c5f3
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libstd/unstable/global.rs

Lines changed: 0 additions & 281 deletions
This file was deleted.

branches/snap-stage3/src/libstd/unstable/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub mod at_exit;
2020

2121
pub mod dynamic_lib;
2222

23-
pub mod global;
2423
pub mod finally;
2524
pub mod intrinsics;
2625
pub mod simd;

branches/snap-stage3/src/rt/rust_builtin.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -763,12 +763,6 @@ rust_register_exit_function(spawn_fn runner, fn_env_pair *f) {
763763
task->kernel->register_exit_function(runner, f);
764764
}
765765

766-
extern "C" intptr_t*
767-
rust_get_global_data_ptr() {
768-
rust_task *task = rust_get_current_task();
769-
return &task->kernel->global_data;
770-
}
771-
772766
#ifndef _WIN32
773767
#include <sys/types.h>
774768
#include <dirent.h>

branches/snap-stage3/src/rt/rust_kernel.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ rust_kernel::rust_kernel(rust_env *env) :
3333
non_weak_tasks(0),
3434
at_exit_runner(NULL),
3535
at_exit_started(false),
36-
env(env),
37-
global_data(0)
36+
env(env)
3837
{
3938
// Create the single threaded scheduler that will run on the platform's
4039
// main thread

branches/snap-stage3/src/rt/rust_kernel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ class rust_kernel {
124124

125125
public:
126126
struct rust_env *env;
127-
intptr_t global_data;
128127

129128
rust_kernel(rust_env *env);
130129

branches/snap-stage3/src/rt/rustrt.def.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ linenoiseHistoryLoad
215215
rust_raw_thread_start
216216
rust_raw_thread_join_delete
217217
rust_register_exit_function
218-
rust_get_global_data_ptr
219218
rust_get_rt_tls_key
220219
swap_registers
221220
rust_readdir

0 commit comments

Comments
 (0)