KDevelop plugin which provides Rust language support.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app_templates
cmake
codecompletion
duchain
.arcconfig
.gitignore Initial commit May 24, 2017
CMakeLists.txt
ExtraDesktop.sh i18n: translate kdevtemplate files Aug 29, 2017
README.md readme: fix working directory error in instructions Aug 29, 2017
kdevrustsupport.categories
kdevrustsupport.json
rusthighlighting.cpp highlighting: enable highlighting for Other contexts Aug 16, 2017
rusthighlighting.h
rustlanguagesupport.cpp
rustlanguagesupport.h
rustparsejob.cpp
rustparsejob.h

README.md

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.