about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-01-02 10:31:50 -0800
committerDavid Tolnay <dtolnay@gmail.com>2023-01-02 10:33:23 -0800
commit257e766c0c17c1a3561a509c931cf89bce27dcf5 (patch)
treee102aef3ec94958450a1bf67ae5e4ad0c539a450 /compiler/rustc_codegen_llvm/src
parentfd59b628ea4d89099ae8ecfce01f271b2a1d9bf5 (diff)
downloadrust-257e766c0c17c1a3561a509c931cf89bce27dcf5.tar.gz
rust-257e766c0c17c1a3561a509c931cf89bce27dcf5.zip
Remove test of static Context
Context is no longer Sync so this doesn't work.

    error[E0277]: `*mut ()` cannot be shared between threads safely
      --> library/core/tests/task.rs:24:21
       |
    24 |     static CONTEXT: Context<'static> = Context::from_waker(&WAKER);
       |                     ^^^^^^^^^^^^^^^^ `*mut ()` cannot be shared between threads safely
       |
       = help: within `Context<'static>`, the trait `Sync` is not implemented for `*mut ()`
       = note: required because it appears within the type `PhantomData<*mut ()>`
       = note: required because it appears within the type `Context<'static>`
       = note: shared static variables must have a type that implements `Sync`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions