LoginSignup
4
4

More than 3 years have passed since last update.

CLionでrustをデバッグする方法

Posted at

CLionでrustをデバッグする

  • TOOLBOX経由でCLionをインストールする
    tool_box.png

  • Cコンパイラーを選択(インストール)する
    cgwin64_install.png

  • msvcはデバッグ不可
    MSVC toolchain is not supported. Please use GNU toolchain.というエラーは発生しました。
    msvc_error.png

  • エラー解消方法
    rustup toolchain install stable-x86_64-pc-windows-gnuでgnu環境をインストールする
    rustc_install1.png
    rustup default stable-x86_64-pc-windows-gnuでデフォルトとして設定する
    rustc_install2.png

  • 正常にデバッグできる
    rust_debug.png

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4