CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]  2025/09/16 06:00:19

Modified files:
        www/chromium   : Makefile 
        www/chromium/patches: patch-content_app_BUILD_gn 
                              patch-content_app_content_main_runner_impl_cc 
                              patch-sandbox_policy_BUILD_gn 
                              patch-sandbox_policy_openbsd_sandbox_openbsd_cc 
        www/iridium    : Makefile 
        www/iridium/patches: patch-content_app_BUILD_gn 
                             patch-content_app_content_main_runner_impl_cc 
                             patch-sandbox_policy_BUILD_gn 
                             patch-sandbox_policy_openbsd_sandbox_openbsd_cc 
        www/ungoogled-chromium: Makefile 
        www/ungoogled-chromium/patches: patch-content_app_BUILD_gn 
                                        
patch-content_app_content_main_runner_impl_cc 
                                        patch-sandbox_policy_BUILD_gn 
                                        
patch-sandbox_policy_openbsd_sandbox_openbsd_cc 
Added files:
        www/chromium/patches: 
                              
patch-third_party_skia_experimental_rust_png_ffi_FFI_rs 
        www/iridium/patches: 
                             
patch-third_party_skia_experimental_rust_png_ffi_FFI_rs 
        www/ungoogled-chromium/patches: 
                                        
patch-third_party_skia_experimental_rust_png_ffi_FFI_rs 

Log message:
call rust's std::arch::is_*_feature_detected() to cache its value

this needs to be done because now chromium is using the very secure
rust png library which will end up in a path where sysctl(2) is called
after pledge(2) to detect CPU features so that we can be also fast
not just secure

calling std::arch::is_*_feature_detected() ensures that rust caches
the CPU features for further usage later on

Reply via email to