mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
rust/shed/hostname: rename hostname dependency to unbreak doctests (#15)
Summary: Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/15 With the update from rustc 1.44 to 1.47 the doctests started to break when building a crate that depends on a different crate of the same name, see this: https://github.com/rust-lang/cargo/issues/6819 This diff also removes the TravisCI build as it was broken and unused for some time. Reviewed By: krallin Differential Revision: D24390815 fbshipit-source-id: fa9c78ef394640afbf8c419f8276bbf339960406
This commit is contained in:
parent
fde21ba026
commit
87db93687e
@ -1,24 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from shell_quoting import path_join
|
||||
import specs.fbthrift as fbthrift
|
||||
|
||||
|
||||
def fbcode_builder_spec(builder):
|
||||
builder.enable_rust_toolchain()
|
||||
return {
|
||||
"depends_on": [fbthrift],
|
||||
"steps": [
|
||||
builder.set_env(
|
||||
"THRIFT", path_join(builder.option("prefix"), "bin", "thrift1")
|
||||
),
|
||||
builder.fb_github_cargo_build(
|
||||
"rust-shed/", github_org="facebookexperimental"
|
||||
),
|
||||
],
|
||||
}
|
@ -27,7 +27,7 @@ async-trait = "0.1.29"
|
||||
futures = { version = "0.3.5", features = ["async-await", "compat"] }
|
||||
serde_json = "1.0"
|
||||
slog = { version = "2.5", features = ["max_level_debug"] }
|
||||
smallvec = { version = "=1.4.1", features = [ "serde", "specialization", "union" ] }
|
||||
smallvec = { version = "1.4.2", features = [ "serde", "specialization", "union" ] }
|
||||
|
||||
[dev-dependencies]
|
||||
mercurial_types-mocks = { path = "../types/mocks" }
|
||||
|
@ -35,7 +35,7 @@ rand = { version = "0.7", features = ["small_rng"] }
|
||||
regex = "1.3.7"
|
||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||
serde_derive = "1.0"
|
||||
smallvec = { version = "=1.4.1", features = [ "serde", "specialization", "union" ] }
|
||||
smallvec = { version = "1.4.2", features = [ "serde", "specialization", "union" ] }
|
||||
thiserror = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user