Skip to content

Commit

Permalink
Merge pull request #138 from gimli-rs/fix-release-builds
Browse files Browse the repository at this point in the history
Use a series of `extend` calls rather than `chain`ing iterators
  • Loading branch information
fitzgen authored Apr 30, 2018
2 parents c87caa6 + d6e5097 commit 383444e
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,28 +118,28 @@ use std::fmt::Write;
)?;

// The set of libiberty tests that pass. This should only ever grow!
let libiberty_passing_tests: HashSet<_> = {
(0..86).into_iter()
.chain(87..89)
.chain(92..93)
.chain(94..105)
.chain(107..108)
.chain(116..118)
.chain(122..124)
.chain(128..131)
.chain(133..134)
.chain(141..143)
.chain(151..152)
.chain(153..154)
.chain(158..168)
.chain(169..170)
.chain(179..180)
.chain(181..182)
.chain(185..186)
.chain(188..189)
.chain(201..202)
.chain(203..204)
.collect()
let libiberty_passing_tests = {
let mut s: HashSet<_> = (0..86).collect();
s.extend(87..89);
s.extend(92..93);
s.extend(94..105);
s.extend(107..108);
s.extend(116..118);
s.extend(122..124);
s.extend(128..131);
s.extend(133..134);
s.extend(141..143);
s.extend(151..152);
s.extend(153..154);
s.extend(158..168);
s.extend(169..170);
s.extend(179..180);
s.extend(181..182);
s.extend(185..186);
s.extend(188..189);
s.extend(201..202);
s.extend(203..204);
s
};

let libiberty_tests = get_crate_test_path("libiberty-demangle-expected")?;
Expand Down

0 comments on commit 383444e

Please sign in to comment.