Skip to content

Commit 1a0a753

Browse files
committed
---
yaml --- r: 69230 b: refs/heads/auto c: 23b7ee2 h: refs/heads/master v: v3
1 parent e8ef87c commit 1a0a753

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
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 6174f9a4d9dc48f9988cd252f4fea8b319020298
17+
refs/heads/auto: 23b7ee2bda12f6518d480c29e9673ed2c592c5f3
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libstd/unstable/global.rs

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

branches/auto/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/auto/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/auto/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/auto/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/auto/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)