Skip to content

KDE/kdev-rust

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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

  •  
  •  
  •  
  •