File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -1777,9 +1777,7 @@ perhaps a crate was updated and forgotten to be re-vendored?
1777
1777
. run ( ) ;
1778
1778
}
1779
1779
1780
- // FIXME: `download_accessible` should work properly for artifact dependencies
1781
1780
#[ cargo_test]
1782
- #[ ignore = "broken, needs download_accessible fix" ]
1783
1781
fn proc_macro_in_artifact_dep ( ) {
1784
1782
// Forcing FeatureResolver to check a proc-macro for a dependency behind a
1785
1783
// target dependency.
@@ -1795,6 +1793,7 @@ fn proc_macro_in_artifact_dep() {
1795
1793
name = "pm"
1796
1794
version = "1.0.0"
1797
1795
edition = "2015"
1796
+ resolver = "2"
1798
1797
1799
1798
[lib]
1800
1799
proc-macro = true
@@ -1829,7 +1828,17 @@ fn proc_macro_in_artifact_dep() {
1829
1828
1830
1829
p. cargo ( "check -Z bindeps" )
1831
1830
. masquerade_as_nightly_cargo ( & [ "bindeps" ] )
1832
- . with_stderr_data ( str![ [ r#""# ] ] )
1831
+ . with_stderr_data ( str![ [ r#"
1832
+ [UPDATING] `dummy-registry` index
1833
+ [LOCKING] 2 packages to latest compatible versions
1834
+ [DOWNLOADING] crates ...
1835
+ [ERROR] failed to download from `[ROOTURL]/dl/pm/1.0.0/download`
1836
+
1837
+ Caused by:
1838
+ [37] Could not read a file:// file (Couldn't open file [ROOT]/dl/pm/1.0.0/download)
1839
+
1840
+ "# ] ] )
1841
+ . with_status ( 101 )
1833
1842
. run ( ) ;
1834
1843
}
1835
1844
You can’t perform that action at this time.
0 commit comments