update_self
fails to compile for more unusual targets
#223
Labels
enhancement
New feature or request
internal-improvements
Related to internal publishing, building, workflows, formatting & linting
I happened to be working on my (android) phone using Termux, and ezno was throwing up an error because the
#[cfg(target_os = ...)]
s inupdate_self
insrc/utilities.rs
don't cover every possible case. I fixed compilation by adding an additional cfg statement for"android"
which allowed it to compile but probably doesn't work.I'd suggest that perhaps for the case where target_os is not windows, mac or linux that
update_self
is stubbed out for a no-op function so that things compile on slightly more exotoc platforms, although other, nicer solutions may exist.The text was updated successfully, but these errors were encountered: