File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,23 @@ they should generally work out of the box, e.g.::
87
87
zypper install rust rust1.79-src rust-bindgen clang
88
88
89
89
90
+ Ubuntu
91
+ ******
92
+
93
+ Ubuntu LTS and non-LTS (interim) releases provide recent Rust releases and thus
94
+ they should generally work out of the box, e.g.::
95
+
96
+ apt install rustc-1.80 rust-1.80-src bindgen-0.65 rustfmt-1.80 rust-1.80-clippy
97
+
98
+ ``RUST_LIB_SRC `` needs to be set when using the versioned packages, e.g.::
99
+
100
+ RUST_LIB_SRC=/usr/src/rustc-$(rustc-1.80 --version | cut -d' ' -f2)/library
101
+
102
+ In addition, ``bindgen-0.65 `` is available in newer releases (24.04 LTS and
103
+ 24.10), but it may not be available in older ones (20.04 LTS and 22.04 LTS),
104
+ thus ``bindgen `` may need to be built manually (please see below).
105
+
106
+
90
107
Requirements: Building
91
108
----------------------
92
109
You can’t perform that action at this time.
0 commit comments