File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
branches/snap-stage3/src/libstd/sys/unix Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5f518ad658fe3914f3817285c484409a582cba96
4
+ refs/heads/snap-stage3: 7dd62155d85e9556c2b2b70c03acce9910896696
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -342,7 +342,10 @@ fn min_stack_size(attr: *const libc::pthread_attr_t) -> usize {
342
342
static mut __pthread_get_minstack: Option < F > = None ;
343
343
344
344
INIT . call_once ( || {
345
- let lib = DynamicLibrary :: open ( None ) . unwrap ( ) ;
345
+ let lib = match DynamicLibrary :: open ( None ) {
346
+ Ok ( l) => l,
347
+ Err ( ..) => return ,
348
+ } ;
346
349
unsafe {
347
350
if let Ok ( f) = lib. symbol ( "__pthread_get_minstack" ) {
348
351
__pthread_get_minstack = Some ( mem:: transmute :: < * const ( ) , F > ( f) ) ;
You can’t perform that action at this time.
0 commit comments