diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-05-19 13:23:15 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-05-19 13:26:01 +0300 |
| commit | e1e44912dc054453a7ec2ff51df751d9aa50f63c (patch) | |
| tree | 2979a59865207e2112c01e68dc37b39a4b240838 /gnu/packages/rust-apps.scm | |
| parent | 7309f55abc4010037eda80cb5d2afd4548db5b25 (diff) | |
gnu: rusty: Update to 0.5.0.
* gnu/packages/rust-apps.scm (rusty): Update to 0.5.0.
[inputs]: Remove lld-14 llvm-14, add llvm-21.
[native-inputs]: Remove lld-wrapper.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[rusty]: Update
entry.
Change-Id: I0ac6ef8bc7464d742cd99cb7a4ec8f9126b88192
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index b76006de483..424ff086202 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm | |||
| @@ -3113,23 +3113,18 @@ touchscreen devices.") | |||
| 3113 | (license license:expat))) | 3113 | (license license:expat))) |
| 3114 | 3114 | ||
| 3115 | (define-public rusty | 3115 | (define-public rusty |
| 3116 | ;; commit before 7b80dee6fefc1f6f012a57e451331db524a8012f, which updates | ||
| 3117 | ;; the rust version to 1.9. After rust has been updated in Guix, we can | ||
| 3118 | ;; continue updating. | ||
| 3119 | (let ((commit "2f406d938f95415c5063e5d3615dae29671b351e") | ||
| 3120 | (revision "1")) | ||
| 3121 | (package | 3116 | (package |
| 3122 | (name "rusty") | 3117 | (name "rusty") |
| 3123 | (version (git-version "0.2.0" revision commit)) | 3118 | (version "0.5.0") |
| 3124 | (source | 3119 | (source |
| 3125 | (origin | 3120 | (origin |
| 3126 | (method git-fetch) | 3121 | (method git-fetch) |
| 3127 | (uri (git-reference | 3122 | (uri (git-reference |
| 3128 | (url "https://github.com/PLC-lang/rusty") | 3123 | (url "https://github.com/PLC-lang/rusty") |
| 3129 | (commit commit))) | 3124 | (commit (string-append "v" version)))) |
| 3130 | (file-name (git-file-name name version)) | 3125 | (file-name (git-file-name name version)) |
| 3131 | (sha256 | 3126 | (sha256 |
| 3132 | (base32 "0zsyyh7n4pc5q2dmsn3qcil00m8aw6id8qq2k61j02mz0cm6ylvp")))) | 3127 | (base32 "1a0gv247kzclya5i78mgxav21aqrya4bv5sylh7idnzhn1ap37nb")))) |
| 3133 | (build-system cargo-build-system) | 3128 | (build-system cargo-build-system) |
| 3134 | (arguments | 3129 | (arguments |
| 3135 | (list | 3130 | (list |
| @@ -3147,16 +3142,15 @@ touchscreen devices.") | |||
| 3147 | "xtask/src/task.rs" "xtask/src/main.rs") | 3142 | "xtask/src/task.rs" "xtask/src/main.rs") |
| 3148 | (("([=\"])cc(\")" _ prefix suffix) | 3143 | (("([=\"])cc(\")" _ prefix suffix) |
| 3149 | (string-append prefix #$(cc-for-target) suffix)))))))) | 3144 | (string-append prefix #$(cc-for-target) suffix)))))))) |
| 3150 | (inputs (cons* libffi lld-14 llvm-14 | 3145 | (inputs (cons* libffi llvm-21 |
| 3151 | (cargo-inputs 'rusty))) | 3146 | (cargo-inputs 'rusty))) |
| 3152 | (native-inputs (list lld-wrapper)) | ||
| 3153 | (home-page "https://plc-lang.github.io/rusty/") | 3147 | (home-page "https://plc-lang.github.io/rusty/") |
| 3154 | (synopsis "IEC 61131-3 structured text compiler") | 3148 | (synopsis "IEC 61131-3 structured text compiler") |
| 3155 | (description | 3149 | (description |
| 3156 | "RuSTy is a IEC 61131-3 @acronym{ST, Structured Text} compiler written in | 3150 | "RuSTy is a IEC 61131-3 @acronym{ST, Structured Text} compiler written in |
| 3157 | Rust. It compiles ST down to native machine code, targeting most | 3151 | Rust. It compiles ST down to native machine code, targeting most |
| 3158 | @code{llvm}-supported targets.") | 3152 | @code{llvm}-supported targets.") |
| 3159 | (license (list license:lgpl3 license:gpl3))))) | 3153 | (license (list license:lgpl3 license:gpl3)))) |
| 3160 | 3154 | ||
| 3161 | (define-public rust-swc | 3155 | (define-public rust-swc |
| 3162 | (package | 3156 | (package |
