GNU bug report logs - #75283
[PATCH rust-team] gnu: rust-xremap: Use output for each feature.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Thu, 2 Jan 2025 13:08:01 UTC

Severity: normal

Tags: patch

Full log


Message #11 received at 75283 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 75283 <at> debbugs.gnu.org
Subject: Re: [bug#75283] [PATCH rust-team] gnu: rust-xremap: Use output for
 each feature.
Date: Mon, 6 Jan 2025 20:42:11 +0100
Hello,

On Sun, Jan 05, 2025 at 10:56:46AM +0200, Efraim Flashner wrote:
> Do we actually need a separate output/package for each desktop type? Or
> can we just add in all the features and provide just one package for all
> of them?

In .../xremap/src/client/mod.rs, each feature (e.g. wlroots) is used
like:

#[cfg(feature = "wlroots")]
pub fn build_client() -> WMClient { ... }

Enabling multiple features would define multiple build_client in the
module, which would not compile I think.

Cheers,
Herman




This bug report was last modified 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.