Rust PR rust-lang/rust#40018 added the "linker-flavor" field to target.json files. This field is required; Cargo will refuse to build without it (with a rather cryptic error message).
The addition of the "linker-flavor" field also changed how pre-link args are specified in target.json files. Cargo silently ignores the old syntax, resulting in linker args not being passed.
This PR updates IntermezzOS' x86_64-unknown-intermezzos-gnu.json target file to be compatible with these changes. it should fix the build with recent Cargo versions.
Rust PR rust-lang/rust#40018 added the
"linker-flavor"
field to target.json files. This field is required; Cargo will refuse to build without it (with a rather cryptic error message).The addition of the
"linker-flavor"
field also changed how pre-link args are specified in target.json files. Cargo silently ignores the old syntax, resulting in linker args not being passed.This PR updates IntermezzOS'
x86_64-unknown-intermezzos-gnu.json
target file to be compatible with these changes. it should fix the build with recent Cargo versions.Fixes #111