Skip to content

rebis-dev: compilation errors #2856

@UWN

Description

@UWN

From HEAD is now at 2b1580e1 some fixes in response to miri on, I can no longer build rebis-dev:

error[E0133]: use of mutable static is unsafe and requires unsafe function or block
  --> src/ffi.rs:93:45
   |
93 |             atom!("sint64") => addr_of_mut!(types::sint64),
   |                                             ^^^^^^^^^^^^^ use of mutable static
   |
   = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior

Thus the last compiling commit is HEAD is now at 15789279 Fix parsing of \x0\ in partial strings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions