summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-06support running cargo on remote machinesHEADmasterJohn Turner
2025-08-16ci: Bump Emacs 30 minor version to 2Jen-Chieh Shen
2025-07-05Merge pull request #573 from asdfish/masterSibi Prabakaran
Add `rust-cargo-clippy-default-arguments`
2025-07-05Add `rust-cargo-clippy-default-arguments`asdfish
2025-06-21Merge pull request #565 from cydparser/backtrace-regexpSibi Prabakaran
Add regexp for stack backtrace locations
2025-06-20Add regexp for stack backtrace locationscydparser
2025-06-20Merge pull request #571 from apiraino/rustfmt-2018-edition-defaultSibi Prabakaran
Ensure rustfmt is invoked without edition parameter
2025-06-20Ensure rustfmt is invoked without edition parameterapiraino
2025-06-09Merge pull request #569 from hron/rust-compilation-dbg!Sibi Prabakaran
Add compilation regexp to match ‘dbg!’ output
2025-06-09Add compilation regexp to match ‘dbg!’ outputAleksei Gusev
While debugging tests it’s annoying when ‘compilation-mode’ matches ‘dbg!’ output incorrectly. Currently, rust-mode’s regexps assign it as an error and incorrectly include ‘[’. The proposed change adds a regexp to match such things and assign them info level.
2025-04-23Merge pull request #567 from eval-exec/exec/upgrade-rust-2024Jen-Chieh Shen
Upgrade rustfmt edition to 2024
2025-04-22fix: Warning missing lexical-binding cookieJen-Chieh Shen
2025-04-04Upgrade rustfmt edition to 2024Eval EXEC
2025-02-25Merge pull request #564 from rust-lang/ci/30.1Jen-Chieh Shen
ci: Test Emacs 30.1
2025-02-24ci: Test Emacs 30.1Jen-Chieh Shen
2024-11-12Merge pull request #563 from bemoody/indent-docSibi Prabakaran
Indent example-code blocks in comments
2024-11-11Add tests for indenting example code blocks.Benjamin Moody
2024-11-11Rename rust-doc-indent-line to rust-mode-indent-line.Benjamin Moody
2024-11-02Use rust-doc-indent-line as the indentation function.Benjamin Moody
2024-11-02rust-doc-indent-line: new function.Benjamin Moody
This can be used as the indent-line-function, as an alternative to rust-mode-indent-line. In addition to indenting the current line as rust-mode-indent-line does, it also checks to see whether we are editing a Markdown code block inside a comment (either a documentation comment or a normal comment.) If we are inside a Markdown code block, it extracts that code block, treats it as Rust code, and indents the current line accordingly. Note that this behavior is only triggered if point is inside the comment body: placing point at the start of the line and pressing tab will only re-indent the comment line, but placing point at the end of the line and pressing tab will re-indent the both comment line and its contents.
2024-09-19Merge pull request #559 from rust-lang/ci/majorJen-Chieh Shen
ci: Test Emacs 26 and 27
2024-09-18ci: Test Emacs 26 and 27Jen-Chieh Shen
2024-09-18ci: Test Emacs 29.4Jen-Chieh Shen
2024-09-03Merge pull request #556 from roife/rustfmt-compilation-modeSibi Prabakaran
introduce a new compilation-mode for rust-format
2024-09-03update changelog for `rust-format-mode`roife
2024-09-03tests: add tests for rust-formatroife
2024-09-03add(rustfmt): introduce a new compilation-mode for rust-formatroife
2024-09-02Merge pull request #554 from PuercoPop/update-rustfmt-default-editionSibi Prabakaran
Update rustfmt's default edition: 2018 -> 2021
2024-08-31Update rustfmt's default edition: 2018 -> 2021Javier Olaechea
2024-08-22Merge pull request #553 from rust-lang/docsSibi Prabakaran
rustic: Update new paths
2024-08-22rustic: Update new pathsSibi Prabakaran
2024-08-22Merge pull request #552 from rust-lang/bump-versionSibi Prabakaran
Bump version to 1.0.6
2024-08-22Remove 27.2 from test matrixSibi Prabakaran
2024-08-22Bump version to 1.0.6Sibi Prabakaran
2024-05-20Merge pull request #546 from bradneuman/workspace-localSibi Prabakaran
Adds a customization to default to workspace or local crate.
2024-05-19Change implementation to use a list of default argumentsBrad Neuman
2024-05-15Merge pull request #544 from isvilen/run-interactiveSibi Prabakaran
Support running interactive programs
2024-05-14Support running interactive programsSvilen Ivanov
2024-05-13Adds a customization to default to workspace or local crate.Brad Neuman
Adds rust-locate-project-in-workspace custom variable, which controls whether or not to locate the workspace project using `--workspace` (the default) or not. In cases where there is only one create, this should make no difference. The default setting should match the existing behavior. Github issue #545
2024-04-15Merge pull request #539 from Dev380/fix-auto-mode-treesitSibi Prabakaran
fix(treesit): auto mode precedence of rust-mode
2024-04-13fix(treesit): auto mode precedence of rust-modeDev380
Currently, `rust-ts-mode` will add itself to the `auto-mode-alist` when it is loaded, which is after the autoload for adding `rust-mode`. We need to re-add `rust-mode` after loading the treesitter package to make sure this mode has higher priority.
2024-03-29Merge pull request #534 from tarsiiformes/fixupSibi Prabakaran
Fix ancient defect and dependency complications related to having two rust-mode implementations
2024-03-27Fix dependencies between rust-mode implementationsJonas Bernoulli
"rust-prog-mode.el" and "rust-mode-treesitter.el" provide competing implementations of `rust-mode'. Both implementations depend on code in "rust-mode.el", and thus must require that. Doing that is complicated by the fact that "rust-mode.el" loads one of these libraries, depending on `rust-mode-treesitter-derive's value. Address this conflict by: 1. Requiring feature `rust-mode' in the two libraries that implement the `rust-mode' major-mode and that use things defined in "rust-mode.el". 2. Moving the require forms for these two libraries in "rust-mode.el", below the `provide' form for `rust-mode'.
2024-03-27Merge pull request #536 from rust-lang/emacs-29.3Sibi Prabakaran
CI: Support for emacs 29.3
2024-03-27CI: Support for emacs 29.3Sibi Prabakaran
2024-03-16rust--format-call: Delete file in case of errorJonas Bernoulli
That was always the intention, but the cleanup code was always placed outside the unwind forms. lib/rust-mode/rust-rustfmt.el:60:12: Warning: ‘unwind-protect’ without unwind forms
2024-03-13Merge pull request #533 from condy0919/mailSibi Prabakaran
Add email in package description
2024-03-12Add email in package descriptioncondy
Fix #531
2024-03-12Merge pull request #532 from jroimartin/rust-mode-interactiveSibi Prabakaran
Allow autoloaded rust-mode function to be called interactively
2024-03-12Allow autoloaded rust-mode function to be called interactivelyRoi Martin