On Sun, Oct 04, 2026 at 02:53:09PM +0200, Herman Rimm wrote:
 
> `type`) `<search-paths>` field (with a `'native` default value), because

Substitute `<search-paths>` with `<search-path-specification>` here, and
`native` with `#f`.

Regarding coexistence, a search path specification of kind `'host` or
`'target` in `native-search-paths` is an error, and one of kind `#f` is
silently overriden to `'native`; one of kind `#f` in `search-paths` is
overriden to kind `'target` with a warning.  When `native-search-paths`
is deprecated and removed after at least one year, `'native` becomes the
default kind for real.

> ... Also, in
> principle packages should agree on whether a given search path is for
> finding architecture-invariant (build platform) files, or for finding
> host and target platform files.

This is moreso the rationale for ** in:
  
> This behavior could be reified into another kind of search path:
> 
> s-path|build |target|host
> build |      |      |
> ------|------|------|------
> normal|native|      |native
>       |normal|      |normal
> ------|------|------|------
> cross |native|normal|normal
>       |**    |*     |***
> * Overriden by an identical build search path.
> ** Conflict error with an identical host search path.
> *** Still including bag target inputs.

Cheers,
Herman

Reply via email to