Skip to content

Commit

Permalink
Fix MIPS target
Browse files Browse the repository at this point in the history
Add missing liblibc constants
  • Loading branch information
crabtw committed Sep 2, 2014
1 parent 0bdac78 commit 9753329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/liblibc/lib.rs
Expand Up @@ -2965,12 +2965,14 @@ pub mod consts {
pub static AF_INET6: c_int = 10;
pub static SOCK_STREAM: c_int = 2;
pub static SOCK_DGRAM: c_int = 1;
pub static SOCK_RAW: c_int = 3;
pub static IPPROTO_TCP: c_int = 6;
pub static IPPROTO_IP: c_int = 0;
pub static IPPROTO_IPV6: c_int = 41;
pub static IP_MULTICAST_TTL: c_int = 33;
pub static IP_MULTICAST_LOOP: c_int = 34;
pub static IP_TTL: c_int = 2;
pub static IP_HDRINCL: c_int = 3;
pub static IP_ADD_MEMBERSHIP: c_int = 35;
pub static IP_DROP_MEMBERSHIP: c_int = 36;
pub static IPV6_ADD_MEMBERSHIP: c_int = 20;
Expand Down Expand Up @@ -3021,8 +3023,12 @@ pub mod consts {
pub mod extra {
use types::os::arch::c95::c_int;

pub static AF_PACKET : c_int = 17;
pub static IPPROTO_RAW : c_int = 255;

pub static O_RSYNC : c_int = 16400;
pub static O_DSYNC : c_int = 16;
pub static O_NONBLOCK : c_int = 128;
pub static O_SYNC : c_int = 16400;

pub static PROT_GROWSDOWN : c_int = 0x01000000;
Expand Down

17 comments on commit 9753329

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at crabtw@9753329

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging crabtw/rust/mips = 9753329 into auto

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crabtw/rust/mips = 9753329 merged ok, testing candidate = 170a65a

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at crabtw@9753329

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging crabtw/rust/mips = 9753329 into auto

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crabtw/rust/mips = 9753329 merged ok, testing candidate = 81e50f17

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at crabtw@9753329

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging crabtw/rust/mips = 9753329 into auto

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crabtw/rust/mips = 9753329 merged ok, testing candidate = 1be3ad28

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at crabtw@9753329

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging crabtw/rust/mips = 9753329 into auto

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crabtw/rust/mips = 9753329 merged ok, testing candidate = 821afc4

@bors
Copy link
Contributor

@bors bors commented on 9753329 Sep 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 821afc4

Please sign in to comment.