File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,6 @@ fn write_plist() {
8383fn main ( ) {
8484 println ! ( "cargo:rerun-if-changed=def.json" ) ;
8585
86- // Download feed.json if FETCH_FEED environment variable is set
87- if std:: env:: var ( "FETCH_FEED" ) . is_ok ( ) {
88- download_feed_json ( ) ;
89- }
90-
9186 #[ cfg( target_os = "macos" ) ]
9287 write_plist ( ) ;
9388
@@ -331,12 +326,9 @@ fn main() {
331326/// Downloads the latest feed.json from the autocomplete repository.
332327/// This ensures official builds have the most up-to-date changelog information.
333328///
334- /// # Errors
335- ///
336- /// Prints cargo warnings if:
337- /// - `curl` command is not available
338- /// - Network request fails
339- /// - File write operation fails
329+ /// TODO - temporarily disabled since GitHub API seems to be very strict with rate limiting,
330+ /// causing builds to fail.
331+ #[ allow( dead_code) ]
340332fn download_feed_json ( ) {
341333 use std:: process:: Command ;
342334
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ def build_chat_bin(
8787 env = {
8888 ** os .environ ,
8989 ** rust_env (release = release ),
90- "FETCH_FEED" : "1" , # Always fetch latest feed.json for official builds
9190 },
9291 )
9392
You can’t perform that action at this time.
0 commit comments