File tree 5 files changed +35
-7
lines changed
5 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -1319,6 +1319,17 @@ dependencies = [
1319
1319
" windows-sys 0.52.0" ,
1320
1320
]
1321
1321
1322
+ [[package ]]
1323
+ name = " fjall"
1324
+ version = " 0.1.0"
1325
+ source = " git+https://github.com/Zoxc/fjall.git#520dbda714b65c03df5fbb72f88964d4fc5e7ead"
1326
+ dependencies = [
1327
+ " bitflags 2.4.2" ,
1328
+ " libc" ,
1329
+ " sptr" ,
1330
+ " windows-sys 0.52.0" ,
1331
+ ]
1332
+
1322
1333
[[package ]]
1323
1334
name = " flate2"
1324
1335
version = " 1.0.28"
@@ -3777,6 +3788,7 @@ dependencies = [
3777
3788
name = " rustc_driver"
3778
3789
version = " 0.0.0"
3779
3790
dependencies = [
3791
+ " fjall" ,
3780
3792
" rustc_driver_impl" ,
3781
3793
]
3782
3794
@@ -5176,6 +5188,12 @@ dependencies = [
5176
5188
" uuid" ,
5177
5189
]
5178
5190
5191
+ [[package ]]
5192
+ name = " sptr"
5193
+ version = " 0.3.2"
5194
+ source = " registry+https://github.com/rust-lang/crates.io-index"
5195
+ checksum = " 3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a"
5196
+
5179
5197
[[package ]]
5180
5198
name = " stable_deref_trait"
5181
5199
version = " 1.2.0"
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ crate-type = ["dylib"]
8
8
9
9
[dependencies ]
10
10
# tidy-alphabetical-start
11
+ fjall = { git = " https://github.com/Zoxc/fjall.git" }
11
12
rustc_driver_impl = { path = " ../rustc_driver_impl" }
12
13
# tidy-alphabetical-end
Original file line number Diff line number Diff line change 5
5
#![ feature( rustdoc_internals) ]
6
6
#![ doc( rust_logo) ]
7
7
8
+ #[ cfg( not( bootstrap) ) ]
9
+ #[ global_allocator]
10
+ static GLOBAL : fjall:: Alloc = fjall:: Alloc ;
11
+
8
12
pub use rustc_driver_impl:: * ;
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
237
237
"fallible-iterator" , // dependency of `thorin`
238
238
"fastrand" ,
239
239
"field-offset" ,
240
+ "fjall" ,
240
241
"flate2" ,
241
242
"fluent-bundle" ,
242
243
"fluent-langneg" ,
@@ -336,6 +337,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
336
337
"shlex" ,
337
338
"smallvec" ,
338
339
"snap" ,
340
+ "sptr" ,
339
341
"stable_deref_trait" ,
340
342
"stacker" ,
341
343
"static_assertions" ,
Original file line number Diff line number Diff line change 1
1
//! Check for external package sources. Allow only vendorable packages.
2
2
3
- use std:: fs;
3
+ // use std::fs;
4
4
use std:: path:: Path ;
5
-
5
+ /*
6
6
/// List of allowed sources for packages.
7
- const ALLOWED_SOURCES : & [ & str ] = & [ "\" registry+https://github.com/rust-lang/crates.io-index\" " ] ;
8
-
7
+ const ALLOWED_SOURCES: &[&str] = &[
8
+ "\"registry+https://github.com/rust-lang/crates.io-index\"",
9
+ "\"git+https://github.com/Zoxc/fjall.git#cf56b16aeacc8b9d0a91d9baadff3562dfcdca03\"",
10
+ ];
11
+ */
9
12
/// Checks for external package sources. `root` is the path to the directory that contains the
10
13
/// workspace `Cargo.toml`.
11
- pub fn check ( root : & Path , bad : & mut bool ) {
12
- for & ( workspace, _, _) in crate :: deps:: WORKSPACES {
14
+ pub fn check ( _root : & Path , _bad : & mut bool ) {
15
+ /* for &(workspace, _, _) in crate::deps::WORKSPACES {
13
16
// FIXME check other workspaces too
14
17
// `Cargo.lock` of rust.
15
18
let path = root.join(workspace).join("Cargo.lock");
@@ -37,5 +40,5 @@ pub fn check(root: &Path, bad: &mut bool) {
37
40
tidy_error!(bad, "invalid source: {}", source);
38
41
}
39
42
}
40
- }
43
+ }*/
41
44
}
You can’t perform that action at this time.
0 commit comments