Skip to content

Commit

Permalink
fix(backend): make "arch" variable mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenclaw900 committed Oct 7, 2021
1 parent 892f2ae commit 2e4e0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/src/systemdata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pub fn host() -> types::HostData {
.trim_end_matches('\n')
.parse::<u32>()
.unwrap();
let arch = info.architecture().as_str();
let mut arch = info.architecture().as_str();
if arch == "unknown" {
arch = "armv6/other";
} else if arch == "arm" {
Expand Down

0 comments on commit 2e4e0f0

Please sign in to comment.