2021-04-25 04:01:02 +03:00
|
|
|
function _tide_item_rustc
|
2023-07-07 07:32:51 +03:00
|
|
|
if path is $_tide_parent_dirs/Cargo.toml
|
|
|
|
rustc --version | string match -qr "(?<ver>[\d.]+)"
|
|
|
|
_tide_print_item rustc "$tide_rustc_icon $ver"
|
|
|
|
end
|
2021-04-25 04:01:02 +03:00
|
|
|
end
|