> Thanks. Actually that’s what I did. Rust package was updated by > “pkg_add -u rust” and then “cargo build —release” rebuilds the > projects. However, when I ran it, it crashed because of segment fault. > It no longer passes the tests as well, “invalid memory reference” was > returned.
Without seeing a backtrace it is difficult to tell. Another issue could be that you use things depending on the ring crate whose assembly isn't compatible with the new x-only protection on modern amd64 machines. If so, you will need to # pkg_add rust-ring and replace lines like this ring = "^0.16" with something like this in Cargo.toml: [dependencies.ring] version = "^0.16" path = "/usr/local/share/ring-0.16.20"