File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 65abf96fb6630d7ddbcdc3b39f599c02ecfc2f1e
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: e263ef1df7b892ed29e53313565eb05ab75e52f4
5
- refs/heads/try: 308c03501a9a49d058f2ad76dd17a4e593ce7be7
5
+ refs/heads/try: 06ad5eb459f1072d79a815210d69af55ef174d20
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 @@ -3695,18 +3695,12 @@ pub mod funcs {
3695
3695
// opendir$INODE64, etc. but for some reason rustc
3696
3696
// doesn't link it correctly on i686, so we're going
3697
3697
// through a C function that mysteriously does work.
3698
- pub unsafe fn opendir ( dirname : * c_char ) -> * DIR {
3699
- rust_opendir ( dirname)
3700
- }
3701
- pub unsafe fn readdir_r ( dirp : * DIR ,
3702
- entry : * mut dirent_t ,
3703
- result : * mut * mut dirent_t ) -> c_int {
3704
- rust_readdir_r ( dirp, entry, result)
3705
- }
3706
3698
3707
3699
extern {
3708
- fn rust_opendir ( dirname : * c_char ) -> * DIR ;
3709
- fn rust_readdir_r ( dirp : * DIR , entry : * mut dirent_t ,
3700
+ #[ link_name="rust_opendir" ]
3701
+ pub fn opendir ( dirname : * c_char ) -> * DIR ;
3702
+ #[ link_name="rust_readdir_r" ]
3703
+ pub fn readdir_r ( dirp : * DIR , entry : * mut dirent_t ,
3710
3704
result : * mut * mut dirent_t ) -> c_int ;
3711
3705
}
3712
3706
@@ -4321,3 +4315,5 @@ pub mod funcs {
4321
4315
}
4322
4316
}
4323
4317
}
4318
+
4319
+ #[ test] fn work_on_windows ( ) { } // FIXME #10872 needed for a happy windows
You can’t perform that action at this time.
0 commit comments