weld-project / weld

High-performance runtime for data analytics applications

Home Page:https://www.weld.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use of deprecated lib feature `std::sync::ONCE_INIT`

AngleNet opened this issue · comments

Summary: Use of deprecated lib feature std::sync::ONCE_INIT
Environment:
Ubuntu 18.04, Rust 1.38.0
Reproduce:
cargo build --release
Output:

warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
  --> weld/src/codegen/llvm2/mod.rs:74:1
    |
74| / lazy_static! {
75| |     /// Name of the run handle struct in generated code.
76| |     static ref RUN_HANDLE_NAME: CString = CString::new("RunHandle").unwrap();
77| | }
    | |_^
    |
   = note: `#[warn(deprecated)]` on by default
   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

Need a fix?

Yes,There are bunch of warnings. I will open a PR to fix that.

Fixed in #491 . Closing this.