-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
861e326
commit 5c8104b
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 06f8a8052df891c0f336937491e2f4206631cafd Mon Sep 17 00:00:00 2001 | ||
From: Mike Hommey <[email protected]> | ||
Date: Thu, 2 May 2024 14:17:47 +0200 | ||
Subject: [PATCH] Bug 1894093 - Apply | ||
https://github.com/rust-lang/rust-bindgen/pull/2824 to vendored bindgen. | ||
|
||
--- | ||
third_party/rust/bindgen/clang.rs | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/third_party/rust/bindgen/clang.rs b/third_party/rust/bindgen/clang.rs | ||
index 32a25449bc4b..580b3ae3b307 100644 | ||
--- a/third_party/rust/bindgen/clang.rs | ||
+++ b/third_party/rust/bindgen/clang.rs | ||
@@ -1515,7 +1515,7 @@ impl SourceLocation { | ||
let mut line = 0; | ||
let mut col = 0; | ||
let mut off = 0; | ||
- clang_getSpellingLocation( | ||
+ clang_getFileLocation( | ||
self.x, &mut file, &mut line, &mut col, &mut off, | ||
); | ||
(File { x: file }, line as usize, col as usize, off as usize) | ||
-- | ||
2.47.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters