We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sysroot-crates-are-unstable
1 parent 26e1ce7 commit 8e214cbCopy full SHA for 8e214cb
tests/run-make/sysroot-crates-are-unstable/test.py
@@ -43,6 +43,7 @@ def check_lib(lib):
43
return True
44
print('verifying if {} is an unstable crate'.format(lib['name']))
45
stdout, stderr = exec_command([os.environ['RUSTC'], '-', '--crate-type', 'rlib',
46
+ '--target', os.environ['TARGET'],
47
'--extern', '{}={}'.format(lib['name'], lib['path'])],
48
to_input=('extern crate {};'.format(lib['name'])).encode('utf-8'))
49
if not 'use of unstable library feature' in '{}{}'.format(stdout, stderr):
0 commit comments