Use Nightly + Cranelift for dev, only fail on warnings in CI (#4388)

* Switch to nightly + cranelift

* Fail on warnings only in CI

* Fix check errors

* Don't use mold on Linux to fix CI

* Pin nightly toolchain and add default rustup components

* Fix another CI thing

* PR comment
This commit is contained in:
aecsocket
2025-09-18 19:20:19 +01:00
committed by GitHub
parent 4def0e8407
commit 36d0760a3e
7 changed files with 30 additions and 24 deletions

View File

@@ -1010,7 +1010,7 @@ mod tests {
#[test]
fn test_version_sorting() {
let versions = vec![
let versions = [
get_version(4, None, months_ago(6)),
get_version(3, None, months_ago(7)),
get_version(2, Some(1), months_ago(6)),

View File

@@ -73,12 +73,6 @@ pub struct InitialVersionData {
pub ordering: Option<i32>,
}
#[derive(Serialize, Deserialize, Clone)]
struct InitialFileData {
#[serde(default = "HashMap::new")]
pub file_types: HashMap<String, Option<FileType>>,
}
// under `/api/v1/version`
#[post("version")]
pub async fn version_create(