Open jiangying000 opened 1 year ago
This is a harnless warning. By default regular users aren't allowed to use perf as used by rust-analyzer to give more detailed stats about the performance of the analysis-stats command.
This is a harnless warning. By default regular users aren't allowed to use perf as used by rust-analyzer to give more detailed stats about the performance of the analysis-stats command.
thanks. i think the output could be more explicit about this, would be easier for normal user to understand the situation
summary
I tried
~/.cargo/bin/rust-analyzer -v -v -v analysis-stats .
but no more info output, it just repeated reports:detail
full command and log:
~/.cargo/bin/rust-analyzer -v -v -v analysis-stats .
more info
run with
sudo
, the error disappears