xtask: fix comment typos

This commit is contained in:
eupn 2024-03-31 21:33:34 +04:00
parent 12ef383353
commit 09a6ea2823
No known key found for this signature in database
GPG key ID: 6A550BE33BE768A9
3 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ impl Builder {
} }
/// Configure for precursor targets. This is the default, but it's good practice /// Configure for precursor targets. This is the default, but it's good practice
/// to call it anyways just in case the defaults change. The `soc_version` should /// to call it anyway just in case the defaults change. The `soc_version` should
/// be just the gitrev of the soc version, not the entire feature name. /// be just the gitrev of the soc version, not the entire feature name.
pub fn target_precursor(&mut self, soc_version: &str) -> &mut Builder { pub fn target_precursor(&mut self, soc_version: &str) -> &mut Builder {
self.target = Some(crate::TARGET_TRIPLE_RISCV32.to_string()); self.target = Some(crate::TARGET_TRIPLE_RISCV32.to_string());

View file

@ -31,7 +31,7 @@ const PRECURSOR_SOC_VERSION: &str = "pvt";
Backups older than this cannot be parsed because the migration code for that backup Backups older than this cannot be parsed because the migration code for that backup
was deprecated. The main purpose of this field is to assist the restore script was deprecated. The main purpose of this field is to assist the restore script
in selecting a kernel: it will automatically downgrade a kernel as far as it must in selecting a kernel: it will automatically downgrade a kernel as far as it must
to read a very old backup. This tag is *not* useful for enforcing a minimum read a very old backup. This tag is *not* useful for enforcing a minimum
version of the kernel to read a very *new* backup. version of the kernel to read a very *new* backup.
Instead, when picking a kernel to restore from, the latest kernel should always be picked, Instead, when picking a kernel to restore from, the latest kernel should always be picked,

View file

@ -1,5 +1,5 @@
// Versioning infrastructure // Versioning infrastructure
// This generates the SEMVER data that is displayed when quering `xous ver` // This generates the SEMVER data that is displayed when querying `xous ver`
// It also generates timestamps, if demanded. // It also generates timestamps, if demanded.
use std::fs::OpenOptions; use std::fs::OpenOptions;