[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode e9e9e32 472/486: Add release build/run functions
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode e9e9e32 472/486: Add release build/run functions |
Date: |
Sat, 7 Aug 2021 09:26:17 -0400 (EDT) |
branch: elpa/rust-mode
commit e9e9e32c4f82a9b895543c120b327ab5536ec42b
Author: Adam Gleave <adam@Adams-Air.home>
Commit: brotzeit <brotzeitmacher@gmail.com>
Add release build/run functions
---
rust-mode.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/rust-mode.el b/rust-mode.el
index 90fac82..e842b8e 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1920,11 +1920,21 @@ Return the created process."
(interactive)
(rust--compile "%s build" rust-cargo-bin))
+(defun rust-compile-release ()
+ "Compile using `cargo build --release`"
+ (interactive)
+ (rust--compile "%s build --release" rust-cargo-bin))
+
(defun rust-run ()
"Run using `cargo run`"
(interactive)
(rust--compile "%s run" rust-cargo-bin))
+(defun rust-run-release ()
+ "Run using `cargo run --release`"
+ (interactive)
+ (rust--compile "%s run --release" rust-cargo-bin))
+
(defun rust-test ()
"Test using `cargo test`"
(interactive)
- [nongnu] elpa/rust-mode 844bb51 429/486: add support for "async fn", (continued)
- [nongnu] elpa/rust-mode 844bb51 429/486: add support for "async fn", ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 63ec74c 434/486: Enforce use of spaces for indentation and cleanup whitespace (#353), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode a36c96a 435/486: integrate rustfmt error messages, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 8665005 436/486: Introduce constant for *rustfmt*., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 08d7141 449/486: README: support for emacs 24 has been dropped., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 1603a25 455/486: Change 'rust-build' to 'rust-compile' in README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6e4835c 456/486: Update README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 5dc219f 465/486: rearrange III: Mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode beda16d 466/486: rearrange IV: Misc, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode f9e3618 468/486: Divide library into sections, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode e9e9e32 472/486: Add release build/run functions,
ELPA Syncer <=
- [nongnu] elpa/rust-mode e006788 474/486: Add .dir-locals.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7fdb9c2 450/486: Use <kbd> to indicate keyboard input in README (#375), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode d211e68 453/486: Fix various byte compilation warnings in rust-mode-tests.el., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode bded667 457/486: Add missing ‘require’ form., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 139a658 482/486: Create rust-rustfmt.el from existing code, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 494d59f 486/486: Make most additional libraries optional, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 9f3d8cf 432/486: rust format buffer now saves position across multiple frames (#348), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6f1abc3 438/486: Expand README to include more information about features (#358), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode e04e485 441/486: rustc-compilation-regexps: handle `note` case as compilation-info., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 39f32cc 447/486: In emacs >= 26.2, use replace-buffer-contents after formatting, ELPA Syncer, 2021/08/07