git: 93aa38dc68ed - main - devel/rust-analyzer: mark as LTO_UNSAFE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jul 2023 05:45:18 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=93aa38dc68ed607ebee1ebe257926a14b3f7357f commit 93aa38dc68ed607ebee1ebe257926a14b3f7357f Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-07-01 05:43:07 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2023-07-01 05:45:06 +0000 devel/rust-analyzer: mark as LTO_UNSAFE rust-analyzer won't run (repeatedly terminated with signal 6) when called from VSCode's rust-analyzer extension. Error messages from rust-analyzer extension are as follows: [Info - 17:39:30] Connection to server got closed. Server will restart. [Info - 17:39:31] Connection to server got closed. Server will restart. [Info - 17:39:31] Connection to server got closed. Server will restart. [Info - 17:39:32] Connection to server got closed. Server will restart. [Error - 17:39:32] The Rust Analyzer Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. Turning off LTO appears to work around the issue. PR: 272291 Approved by: mikael --- devel/rust-analyzer/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/rust-analyzer/Makefile b/devel/rust-analyzer/Makefile index dd10271c0596..5cbcb87f65cd 100644 --- a/devel/rust-analyzer/Makefile +++ b/devel/rust-analyzer/Makefile @@ -1,5 +1,6 @@ PORTNAME= rust-analyzer DISTVERSION= 2023-06-12 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= rust@FreeBSD.org @@ -203,6 +204,8 @@ CARGO_CRATES= addr2line-0.19.0 \ CARGO_INSTALL_PATH= crates/rust-analyzer +LTO_UNSAFE= yes + # attempts to install rustup toolchains NO_TEST= yes