Skip to content

This is a bare bones xcode plugin for the rust language. It enables breakpoints to work

Notifications You must be signed in to change notification settings

renewedvision/rust-xcode-plugin

 
 

Repository files navigation

rust-xcode-plugin

This plugin is provided as-is with no guarantees of any kind.

Syntax highlighting isn't great, but setting breakpoints in the GUI should work.

Based on: https://github.com/youknowone/rust-xcode-langspec https://github.com/steventroughtonsmith/lua-xclangspec

Installation:

sudo ./setup.sh

You may have to quit and reopen Xcode once or twice and click the Load Bundle button in a popup that should appear automatically.

For Xcode 15.3 and higher:

If your Xcode Version is not listed here (section DTXcodeBuildCompatibleVersions), please make an issue (or a pull request!) and we'll add it.

The version is in the Xcode->About.

Older Xcodes:

If your Xcode UUID is not listed here (section DVTPlugInCompatibilityUUIDs), please make an issue (or a pull request!) and we'll add it.

You can check your UUID with this command:

$ defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

Manual Install

Place the Plug-ins folders in ~/Library/Developer/Xcode

Place the Rust.xclangspec in /Applications/Xcode.app/Contents/SharedFrameworks/SourceModel.framework/Versions/A/Resources/LanguageSpecifications

Place Xcode.SourceCodeLanguage.Rust.plist in /Applications/Xcode.app/Contents/SharedFrameworks/SourceModel.framework/Versions/A/Resources/LanguageMetadata

About

This is a bare bones xcode plugin for the rust language. It enables breakpoints to work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%