Skip to content

warning: use of deprecated function std::arch::x86_64::_MM_GET_FLUSH_ZERO_MODE #220

@fractalf

Description

@fractalf

Any idea how to resolve this?
Does the framework need an update?

$ rustc --version  
rustc 1.86.0 (05f9846f8 2025-03-31)

$ pwd                  
/home/xxx/audio/nih-plug/plugins/examples/gain

$ car_MM_GET_FLUSH_ZERO_MODEgo build
warning: use of deprecated function `std::arch::x86_64::_MM_GET_FLUSH_ZERO_MODE`: see `_mm_getcsr` documentation - use inline assembly instead
   --> src/wrapper/util.rs:210:56
    |
210 |                 let mode = unsafe { std::arch::x86_64::_MM_GET_FLUSH_ZERO_MODE() };
    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE`: see `_mm_setcsr` documentation - use inline assembly instead
   --> src/wrapper/util.rs:214:44
    |
214 |                         std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated function `std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE`: see `_mm_setcsr` documentation - use inline assembly instead
   --> src/wrapper/util.rs:261:40
    |
261 |                     std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^

warning: `nih_plug` (lib) generated 3 warnings
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s

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