mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
xtask: unify stdlib url constant naming
This commit is contained in:
parent
3cf4cafb05
commit
f347b46530
1 changed files with 2 additions and 2 deletions
|
|
@ -10,13 +10,13 @@ use std::{
|
||||||
use crate::{cargo, project_root};
|
use crate::{cargo, project_root};
|
||||||
use crate::{TARGET_TRIPLE_RISCV32, TARGET_TRIPLE_ARM};
|
use crate::{TARGET_TRIPLE_RISCV32, TARGET_TRIPLE_ARM};
|
||||||
|
|
||||||
const TOOLCHAIN_RELEASE_URL: &str = "https://api.github.com/repos/betrusted-io/rust/releases";
|
const TOOLCHAIN_RELEASE_URL_RISCV32: &str = "https://api.github.com/repos/betrusted-io/rust/releases";
|
||||||
const TOOLCHAIN_RELEASE_URL_ARM: &str =
|
const TOOLCHAIN_RELEASE_URL_ARM: &str =
|
||||||
"https://api.github.com/repos/Foundation-Devices/rust/releases";
|
"https://api.github.com/repos/Foundation-Devices/rust/releases";
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref TOOLCHAIN_RELEASE_URLS: HashMap<String, String> = HashMap::from([
|
static ref TOOLCHAIN_RELEASE_URLS: HashMap<String, String> = HashMap::from([
|
||||||
(TARGET_TRIPLE_RISCV32.to_owned(), TOOLCHAIN_RELEASE_URL.to_owned()),
|
(TARGET_TRIPLE_RISCV32.to_owned(), TOOLCHAIN_RELEASE_URL_RISCV32.to_owned()),
|
||||||
(
|
(
|
||||||
TARGET_TRIPLE_ARM.to_owned(),
|
TARGET_TRIPLE_ARM.to_owned(),
|
||||||
TOOLCHAIN_RELEASE_URL_ARM.to_owned()
|
TOOLCHAIN_RELEASE_URL_ARM.to_owned()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue