Skip to content
/ kdev-rust Public

KDevelop plugin which provides Rust language support.

License

Notifications You must be signed in to change notification settings

KDE/kdev-rust

Repository files navigation

Rust Language Support plugin

This package is a WIP to provide language support for Rust.

Compiling

Build kdev-rust

A nightly Rust compiler is required for compilation

mkdir build
cd build
cmake ..
make

Running

export LD_LIBRARY_PATH=`rustc --print sysroot`/lib

Then run KDevelop.

Dependencies

Manually building the ast-redux Rust library

kdev-rust automatically downloads and builds ast-redux. If you would like to build it yourself for debugging purposes or otherwise, do the following:

git clone ssh://git@git.kde.org/scratch/egospodinova/ast-redux
cd ast-redux
cargo build

This should create a folder called target/debug.

export CMAKE_PREFIX_PATH=/path/to/ast-redux/target/debug:$CMAKE_PREFIX_PATH

Now you can proceed to build kdev-rust as described above.

About

KDevelop plugin which provides Rust language support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •