Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 834 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 834 Bytes

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://[email protected]/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.