File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5
- refs/heads/try: ca406fa64643e68adcb47b509b3152b99ccab72b
5
+ refs/heads/try: 8959aded2c5158792f03474d33f13e44266e4db7
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -3663,18 +3663,12 @@ pub mod funcs {
3663
3663
// opendir$INODE64, etc. but for some reason rustc
3664
3664
// doesn't link it correctly on i686, so we're going
3665
3665
// through a C function that mysteriously does work.
3666
- pub unsafe fn opendir ( dirname : * c_char ) -> * DIR {
3667
- rust_opendir ( dirname)
3668
- }
3669
- pub unsafe fn readdir_r ( dirp : * DIR ,
3670
- entry : * mut dirent_t ,
3671
- result : * mut * mut dirent_t ) -> c_int {
3672
- rust_readdir_r ( dirp, entry, result)
3673
- }
3674
3666
3675
3667
extern {
3676
- fn rust_opendir ( dirname : * c_char ) -> * DIR ;
3677
- fn rust_readdir_r ( dirp : * DIR , entry : * mut dirent_t ,
3668
+ #[ link_name="rust_opendir" ]
3669
+ pub fn opendir ( dirname : * c_char ) -> * DIR ;
3670
+ #[ link_name="rust_readdir_r" ]
3671
+ pub fn readdir_r ( dirp : * DIR , entry : * mut dirent_t ,
3678
3672
result : * mut * mut dirent_t ) -> c_int ;
3679
3673
}
3680
3674
@@ -4271,4 +4265,4 @@ pub mod funcs {
4271
4265
}
4272
4266
}
4273
4267
4274
- #[ test] fn work_on_windows ( ) { } // this is needed to make rustc happy on windows
4268
+ #[ test] fn work_on_windows ( ) { } // FIXME #10872 needed for a happy windows
You can’t perform that action at this time.
0 commit comments