Xuanwo commented on PR #1340:
URL: https://github.com/apache/iceberg-rust/pull/1340#issuecomment-2908909319

   Detecting nightly features is not recommended by the Rust community, as 
nightly features can be renamed or removed at any time.
   
   For example: https://github.com/tkaitchuck/aHash/
   
   > Fundamentally this is caused by logic in build.rs that auto-enables a 
nightly feature when it detects that it is built with a nightly rustc. Such 
logic is fragile and prone to errors as nightly features evolve before 
stabilization.
   >
   > Crates should never automatically enable nightly features, this should 
generally be opt-in. If they try to do it automatically they need to be very 
careful and account for the fact that nightly features are not stable, and 
might look very different in future nightly versions.
   >
   > I see aHash still does the same kind of auto-detection with the specialize 
feature. That's a similar issue just waiting to happen.
   
   Similar things have happened many times before. We don't want to disrupt our 
users, especially those using the nightly version of rustc. I understand the 
motivation behind this change, but since we have already provided an 
alternative, perhaps we can wait until this feature is stabilized.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to