[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debcargo: new 'architecture' override field now available in testing



Hi all,

In case you missed this, starting with v2.7.10 (in testing since a few days) debcargo can now override packages' "Architecture" field declaratively using debcargo.toml, e.g.

```
[packages.bin]
architecture = ["arch1", ..., "archN"]
```

The intended use case for this is preventing application packages from building on architectures on which they are known not to build -- and for good reason -- without needing a less maintainable d/control override to achieve this.

Note that if you get caught changing libraries' architecture from "any" to "all" you'll incur in the wrath of the Multi-Arch deities and debcargo itself will become grumpy (i.e, we added a warning that this should generally be avoided [1]).

Cheers!


[1] https://rust-team.pages.debian.net/book/policy.html#why-architecture-any


Reply to: